Google

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


size

size(vect|mat)
:: [vect ¤ÎŤµ] ¤Þ¤¿¤Ï [mat ¤Î¹Ô¿ô,mat ¤ÎÎó¿ô].
return
¥ê¥¹¥È
vect
¥Ù¥¯¥È¥ë
mat
¹ÔÎó
  • vect Ëô¤Ï, mat ¤Î¥µ¥¤¥º¤ò¥ê¥¹¥È¤Ç½ÐÎϤ¹¤ë.
  • list ¤Î¥µ¥¤¥º¤Ï length()¤ò, Í­Íý¼°¤Ë¸½¤ì¤ëñ¹à¼°¤Î¿ô¤Ï nmono() ¤òÍѤ¤¤ë.
[0] A = newvect(4);
[ 0 0 0 0 ]
[1] size(A);
[4]
[2] B = newmat(2,3,[[1,2,3],[4,5,6]]);
[ 1 2 3 ]
[ 4 5 6 ]
[3] size(B);
[2,3]
»²¾È
section car, cdr, cons, append, reverse, length, section nmono.


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