Scilab 6.0.0
Scilab Help >> Data Structures > hypermat
hypermat
initializes an N dimensional matrix
Syntax
M = hypermat(dims [,v])
Arguments
Description
The hypermat
function initializes a hypermatrix whose dimensions are given in the vector dims
and entries are given in optional argument v
.
M
data structure contains the vector of matrix dimensions
M('dims')
and the vector of entries M('entries')
such as
the leftmost subcripts vary first
[M(1,1,..);..;M(n1,1,..);...;M(1,n2,..);..;M(n1,n2,..);...]
![]() | If you build your own hypermat , you must be careful. The M('dims') entry must be a row vector whereas the M('entries') must be a column vector. |
Examples
See Also
- hypermatrices — a Scilab object, N dimensional matrix in Scilab
- zeros — matrix made of zeros
- ones — matrix made of ones
- grand — Random numbers
- matrix — reshape a vector or a matrix to a different size matrix
Comments
Add a comment:
Please login to comment this page.