Top
Back: matrix expressions
Forward: matrix operations
FastBack: map
FastForward: module
Up: matrix
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.11.3 matrix type cast

Syntax:
matrix ( expression )
matrix ( expression, int_n, int_m )
Type:
matrix
Purpose:
Converts expression to a matrix, where expression must be of type int, intmat, intvec, number, poly, ideal, vector, module, or matrix. If int_n and int_m are supplied, then they specify the dimension of the matrix. Otherwise, the size (resp. dimensions) of the matrix is determined by the size (resp. dimensions) of the expression.
Example:
 
See Type conversion and casting; intmat type cast; matrix.

Top Back: matrix expressions Forward: matrix operations FastBack: map FastForward: module Up: matrix Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.