Skip to content

Avoid redundant eigenvalue sorting #31

Description

@clumsyspeedboat

Currently, the code sorts eigenvalues and eigenvectors manually, even though decomposition.isOrdered() checks if they are already sorted in descending order. Refactor logic to avoid unnecessary sorting when this method returns true.

Acceptance Criteria:

  • Perform a sort only if decomposition.isOrdered() returns false.
  • Add tests to verify output order for both cases.

Parent: #29

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions