next up previous contents
Next: conj Up: リファレンスマニュアル Previous: clock

  
Cols

【目的】
Cols - 列の数
【形式】
m = Cols(X)
   Integer m;
   (Matrix|Array|Index) X;
【詳細】
Cols(X)は(行列|配列|指数) X の列の数を返す。
【例題】
>> X = [[1 2 3][4 5 6]];
>> m = Cols(X)
m = 3
【参照】
Rows(2.190), size(2.216), length(2.112)


Masanobu KOGA 平成11年10月2日