Go to the first, previous, next, last section, table of contents.


newmat

newmat(row,col [,[[a,b,...],[c,d,...],...]])
:: Creates a new matrix with row rows and col columns.
return
matrix
row,col
non-negative integer
a,b,c,d
arbitrary
[0] A = newmat(3,3,[[1,1,1],[x,y],[x^2]]);
[ 1 1 1 ]
[ x y 0 ]
[ x^2 0 0 ]
[1] det(A);
-y*x^2
[2] size(A);
[3,3]
[3] A[1];
[ x y 0 ]
[4] A[1][3];
getarray : Out of range
return to toplevel
References
section newvect, section size, section det.


Go to the first, previous, next, last section, table of contents.