Bases: dolfin.cpp.la.LinearAlgebraObject
This class defines a common interface for arbitrary rank tensors.
Overloaded versions
add(block, rows)
Add block of values using global indices
add(block, num_rows, rows)
Add block of values using global indices
Overloaded versions
add_local(block, rows)
Add block of values using local indices
add_local(block, num_rows, rows)
Add block of values using local indices
Finalize assembly of tensor
Return true if empty
Return linear algebra backend factory
Initialize zero tensor using tensor layout
Return local ownership range
Return MPI communicator
Return tensor rank (number of dimensions)
Set block of values using local indices
Return size of given dimension
The membership flag
Set all entries to zero and keep any sparse structure