Next: Operations
Up: Linear algebra.
Previous: Linear algebra.
Building a matrix
To build a matrix, you may type it as usual with { and } instead of [ and ]
or you may use one of the following instructions:
idn
: to build a symbolic identity matrix In (if
n is at level 1)
LCXM
: to build a matrix
.
The command takes 3 arguments: l, c and a program building
aij from i and j. Example:
2 4 << SQ + >> LCXM
returns a
matrix with
aij=i+j2.
VAND
and HILBERT
return Vandermonde and Hilbert matrices
given respectively a list of objects or an integer.
Bernard Parisse
1998-07-31