27#include "neml2/equation_systems/AxisLayout.h"
28#include "neml2/tensors/Tensor.h"
Definition DiagnosticsInterface.h:31
c10::TensorOptions TensorOptions
Definition types.h:66
Dense representation of a matrix assembled from a 2D-list of tensors and their layout.
Definition AssembledMatrix.h:37
Definition AxisLayout.h:34
AxisLayout row_layout
Row layout of the tensors.
Definition SparseMatrix.h:52
SparseMatrix group(std::size_t, std::size_t) const
Semi-contiguous view of a block of the sparse matrix.
AxisLayout col_layout
Column layout of the tensors.
Definition SparseMatrix.h:54
SparseMatrix(AxisLayout, AxisLayout)
std::vector< std::vector< Tensor > > tensors
2D-list of tensors
Definition SparseMatrix.h:50
TensorOptions options() const
Tensor options.
AssembledMatrix assemble() const
Assemble into a Tensor with two base dimensions.
SparseMatrix(AxisLayout, AxisLayout, std::vector< std::vector< Tensor > >)