[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.6.5 newmat

newmat(row,col [,[[a,b,...],[c,d,...],...]])
:: rowcol 列の行列を生成する.

return
行列
row col
自然数
a b c d
任意

 
[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

参照
6.6.1 newvect, 6.6.6 size, 6.6.7 det,invmat.



This document was generated by root on March, 5 2004 using texi2html