initializes an N dimensional matrix
M = hypermat(dims) M = hypermat(dims, v)
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. |
Version | Description |
6.0.0 | hypermat is declared obsolete.
matrix() can be used instead. |
6.1.0 | hypermat is no longer available. |