Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
Scilab object, N dimensional matrices in Scilab
Hypermatrix type allows to manipulate multidimensional arrays
They can be defined by extension of 2D matrices as follows a=[1 2;3 4];a(:,:,2)=rand(2,2)
or directly using
Entries can be real or complex numbers, polynomials, rationals, strings, booleans.
sz is the row
vector of dimensions and
v the column vector of entries (first
dimension are stored first)
NOTES: The number of dimension of hypermatrices with right-most sizes equal to 1 are automatically reduced. An hypermatrix with only two dimensions is automatically changed to a regular matrix (type 1).
|<< hypermat||Data Structures||iscell >>|