|
B.7.0.14 UpOneMatrix
Procedure from library nctools.lib (see nctools_lib).
- Usage:
- UpOneMatrix(N); N an integer, the number of columns
- Return:
- intmat, NxN matrix with 1's in the whole upper triagle
- Note:
- helpful for setting noncommutative algebras with complicated
coefficient matrices
Example:
| LIB "nctools.lib";
ring r=(0,q),(x,y,z),dp;
matrix C=UpOneMatrix(3);
C[1,3]=q;
ncalgebra(C,0);
r;
==> // characteristic : 0
==> // 1 parameter : q
==> // minpoly : 0
==> // number of vars : 3
==> // block 1 : ordering dp
==> // : names x y z
==> // block 2 : ordering C
==> // noncommutative relations:
==> // zx=(q)*xz
|
|