Go to the first, previous, next, last section, table of contents.
newmat
size()
.
M
be a program variable assigned to a matrix.
Then, M[I]
denotes a (row) vector which corresponds with
the I
-th row of the matrix.
Note that the vector shares its element with the original matrix.
Subsequently, if an element of the vector is modified, then the
corresponding matrix element is also modified.
[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
newvect
, section size
, section det
,invmat
.
Go to the first, previous, next, last section, table of contents.