Class Scine::Utils::MatrixWithDerivatives

class MatrixWithDerivatives

Container for a matrix and the derivatives of its elements.

Public Functions

Eigen::MatrixXd getMatrixXd() const

Get a copy of the underlying matrix, without derivatives.

void setDimension(int rows, int cols)

Initializes the members with dimensions given as parameters.

void setBaseMatrix(const Eigen::MatrixXd &m)

Sets the base matrix to m. Implicitly calls setDimension with correct dimensions.