Template Function ImmersX::matrix_operator(std::shared_ptr<MatrixType>)¶
Defined in File matrix_operator.h
Function Documentation¶
-
template<typename VectorType, typename MatrixType>
MaterializedOperator<VectorType, MatrixType> ImmersX::matrix_operator(std::shared_ptr<MatrixType> matrix)¶ Build a payload-free operator whose callbacks own the matrix.
Materialization shares that storage; consumers that modify it must clone shared matrices, as the matrix-backed algebra below does.