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