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


Number of columns : coldim colDim ncols

coldim (or colDim or ncols) takes as argument a matrix A.
coldim (or colDim or ncols) returns the number of columns of the matrix A.
Input :
coldim([[1,2,3],[3,4,5]])
or
ncols([[1,2,3],[3,4,5]])
Output :
3



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