next up previous contents
Next: Basic Notions and LTP Up: Compiling, Installing and Loading Previous: Installing LTP   Contents

Loading LTP

  To load the LTP package first ensure that the libname path has been set to include the directory where the package was stored after compilation (or to where it was moved). To add a new directory to the libname path variable, simply execute: libname:="c:/YourMapleLib/lt",libname; or libname:=libname,"../../lib/" if you prefer to use relative paths rather absolute ones. However, for the relative paths approach to work fine your current directory must be the appropriate one, so either you use the Maple command currentdir to set the directory or you be sure to open the file by double-clicking on it, or launching xmaple from the directory where the file is. Load the library by executing the command with(lt) at the Maple prompt ``>''. Particular functions within the library can also be accessed without loading the whole module by typing lt[function](args), e.g. lt[createLBobjects](3,4), followed by a semi-colon or colon, the latter for silent execution of the command (i.e. the results are not shown on the screen). Upon loading, the symbolic Lie product operator, denoted in Maple by &*, is defined. With this notation, the Lie product (or Lie bracket) of two indeterminates $X$ and $Y$, traditionally denoted in the mathematical texts by the bracket $[X,Y]$, would be represented in Maple as X &* Y. The & symbol preceding the * indicates the operator is a user defined operator. Instead of * we could have chosen any other symbol, letter or even word, however since the $[X,Y]$ is a special type of product, it seems more natural to use the computer symbol for multiplication in the definition of our custom-built multiplication operator. The Lie product operator &* is declared as being multilinear (in Maple this means that the operator distributes over the addition), and non-associative, in other words the operator does not distributes over the Lie product. Note that due to the latter, it is convenient to treat the operator as an infix operator rather than using prefix notation, however this is not compulsory. When the package is shutdown (unloaded) the &* operator is unassigned (freed) and its properties are removed.
next up previous contents
Next: Basic Notions and LTP Up: Compiling, Installing and Loading Previous: Installing LTP   Contents
Miguel Attilio Torres-Torriti 2004-05-31