next up previous contents index
suivant: Number of rows : monter: Arithmetic and matrix précédent: Statistics functions acting on   Table des matières   Index


Dimension of a matrix : dim

dim takes as argument a matrix A.
dim returns the list of the number of rows and columns of the matrix A.
Input :
dim([[1,2,3],[3,4,5]])
Output :
[2,3]



giac documentation written by Renée De Graeve and Bernard Parisse