CoordinateMatrix¶
-
class
dolfin.cpp.la.CoordinateMatrix(A: dolfin.cpp.la.GenericMatrix, symmetric: bool, base_one: bool)¶ Bases:
objectCoordinate sparse matrix.
Constructor.
Parameters: -
columns()¶ Get column indices.
Return type: const std::vector< std::size_t > &
-
norm()¶ Return norm of matrix.
Parameters: norm_type (std::string) – Return type: double
-
rows()¶ Get row indices.
Return type: const std::vector< std::size_t > &
-
size()¶ Size
Parameters: dim (std::size_t) – (std::size_t) Dimension (0 or 1) Return type: std::size_t
-
thisown¶ The membership flag
-
values()¶ Get values.
Return type: const std::vector< double > &
-