Update geo_homogeneous test, add eval() to PermutationMatrix.

This commit is contained in:
Antonio Sánchez
2025-10-01 18:01:11 +00:00
committed by Rasmus Munk Larsen
parent 5c1029be1a
commit 4916887f2c
2 changed files with 5 additions and 2 deletions

View File

@@ -109,6 +109,9 @@ class PermutationBase : public EigenBase<Derived> {
*/
DenseMatrixType toDenseMatrix() const { return derived(); }
/** \returns the plain matrix representation of the permutation. */
DenseMatrixType eval() const { return toDenseMatrix(); }
/** const version of indices(). */
const IndicesType& indices() const { return derived().indices(); }
/** \returns a reference to the stored array representing the permutation. */