Linear AlgebraTypesRealSparseMatrixMethodscolsOn this pagecols Method of RealSparseMatrix. cols() -> integer Returns the number of columns of a RealSparseMatrix.