33.5 Environment Settings

All variables beginning with the four characters $NC$ are reserved for use by the NCAlgebra and NCGB development teams.

The user may set an $NC$ variable to accomodate his/her needs. If the user does not assign a value to a $NC$ variable, then it has no value until that variable is to be actually used. At that time, the code changes the value of the variable to a default.

33.5.1 NCAlgebra $NC$ Variables

$NC$Loaded$NCAlgebra$ is used to ensure that NCAlgebra.m is not loaded twice. Every $NC$Loaded$*$ file will be used to avoid duplicate file Get’s. This is similar to the #ifndef #define #endif scheme used in C++.

$NC$isCatching$ is reserved to attempt to do Mathematica exception handling via the Mathematica commands Catch and Throw. This is not implemented and is held for future development.

33.5.2 NCGB $NC$ Variables

The $NC$ variables which are presently part of NCGB are those that are part of NCAlgebra (see section 33.5.1) and the following variables.

$NC$Loaded$NCGB$  
$NC$LongLoadTime$  
$NC$Binary$Dir$  
$NC$Binary$Name$

$NC$Loaded$NCGB$ is used to ensure that NCGB.m is not loaded twice. Every $NC$Loaded$*$ file will be used to avoid duplicate file Get’s. This is similar to the #ifndef #define #endif scheme used in C++.

The $NC$LongLoadTime$ variable is True by default which means that all of NCAlgebra.m will be read in when NCGB.m is read in. If one sets it to False, before loading either NCAlgebra.m or NCGB.m then only part of NCAlgebra.m will be read in.

The variables $NC$Binary$Dir$ and $NC$Binary$Name$ are used to specify which C++ executable file one is using. If one does not assign a value to either variable, then the value will be set in accordance with the variable $NCDir$ which is set in the file SetNCPath.m. The file SetNCPath.m was modified appropriately during installation.