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