Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
This class provides the default DOLFIN matrix class, based on the default DOLFIN linear algebra backend.
Create empty matrix
Copy constructor
Create a Vector from a GenericVector
Initialize zero tensor using tensor layout
Return true if matrix is empty
Return size of given dimension
Return local ownership range
Return number of non-zero entries in matrix (collective)
Set all entries to zero and keep any sparse structure
Finalize assembly of tensor
Return MPI communicator
Return informal string representation (pretty-print)
Return copy of matrix
Resize vector y such that is it compatible with matrix for multiplication Ax = b (dim = 0 -> b, dim = 1 -> x) In parallel case, size and layout are important.
Get block of values
Set block of values using global indices
Set block of values using local indices
Add block of values using global indices
Add block of values using local indices
Add multiple of given matrix (AXPY operation)
Return norm of matrix
Get non-zero values of given row
Set values for given row
Set given rows to zero
Set given rows (local row indices) to zero
Set given rows (global row indices) to identity matrix
Set given rows (local row indices) to identity matrix
Get diagonal of a matrix
Set diagonal of a matrix
Multiply matrix by given number
Divide matrix by given number
Assignment operator
Test if matrix is symmetric
Return linear algebra backend factory
Return concrete instance / unwrap (const version)
Return concrete instance / unwrap (non-const version)
Assignment operator