Scilab 6.0.2

Scilab Help >> Data Structures > types > hypermatrices

# hypermatrices

a Scilab object, N dimensional matrix in Scilab

### Description

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 `matrix`

function.

Entries can be booleans, encoded integers of any inttype, real or complex numbers, polynomials, rationals, strings, booleans.

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). |

## Comments

Add a comment:Please login to comment this page.