Return an interval matrix with the specified dimensions (M, N, ...) whose elements are taken from the interval matrix A. The elements of the matrix are accessed in column-major order (like Fortran arrays are stored).
Note that the total number of elements in the original matrix
(prod (size (A))
) must match the total number of elements in
the new matrix (prod ([M N])
).
A single dimension of the return matrix may be left unspecified and Octave will determine its size automatically. An empty matrix ([]) is used to flag the unspecified dimension.
reshape (infsup (1 : 6), 2, 3) ⇒ ans = 2×3 interval matrix [1] [3] [5] [2] [4] [6]
See also: @infsup/resize, @infsup/cat, @infsup/postpad, @infsup/prepad.
Package: interval