.. Documentation for the header file dolfin/la/CoordinateMatrix.h .. _programmers_reference_cpp_la_coordinatematrix: CoordinateMatrix.h ================== .. note:: The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded. .. cpp:class:: CoordinateMatrix Coordinate sparse matrix. .. cpp:function:: CoordinateMatrix(const GenericMatrix& A, bool symmetric, bool base_one) Constructor .. cpp:function:: std::size_t size(std::size_t dim) const Size @param dim (std::size_t) Dimension (0 or 1) .. cpp:function:: const std::vector& rows() const Get row indices .. cpp:function:: const std::vector& columns() const Get column indices .. cpp:function:: const std::vector& values() const Get values .. cpp:function:: double norm(std::string norm_type) const Return norm of matrix .. cpp:function:: MPI_Comm mpi_comm() const Get MPI_Comm .. cpp:function:: bool base_one() const Whether indices start from 0 (C-style) or 1 (FORTRAN-style)