Class template GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors

Inherits from GeneralizedEigenSolverTest.

template<class M, class F, class C, class R>
class GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R> : public GeneralizedEigenSolverTest<M, F, C, R>

No documentation provided.

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::gives_correct_real_eigenvalues

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::gives_correct_real_eigenvalues(const Common::Configuration &tolerances = {})

No documentation provided.

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::gives_correct_max_eigenvalue

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::gives_correct_max_eigenvalue(const Common::Configuration &tolerances = {})

No documentation provided.

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::gives_correct_min_eigenvalue

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::gives_correct_min_eigenvalue(const Common::Configuration &tolerances = {})

No documentation provided.

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::gives_correct_extremal_eigenvalues

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::gives_correct_extremal_eigenvalues(const Common::Configuration &tolerances = {})

min_eigenvalues(k)/max_eigenvalues(k) for k != 1 and for k above the number of eigenvalues.

Both accessors sort a copy of the real eigenvalues and truncate it to k, so the interesting cases are k in the middle of the spectrum (does the truncation keep the right end?) and k beyond the spectrum (is the result clamped instead of padded?).

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::checks_eigenvalue_assertions

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::checks_eigenvalue_assertions(const Common::Configuration &tolerances = {})

Covers the assert_real/positive/negative_eigenvalues post checks, in both directions.

Which of the sign assertions has to hold is derived from the expected spectrum, so the same check both confirms the assertion for a matching test case and confirms that a violated assertion is reported for all others.

Method GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::computes_eigenvalues_required_for_assertions

template<class M, class F, class C, class R>
void GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors<M, F, C, R>::computes_eigenvalues_required_for_assertions(const Common::Configuration &tolerances = {})

Any assertion on the eigenvalues has to switch their computation back on.

‘compute_eigenvalues’ defaults to true, so this only matters when it was explicitly disabled: pre_checks() then has to re-enable it (there is nothing to assert otherwise) and, for the sign assertions, has to derive ‘assert_real_eigenvalues’ from ‘real_tolerance’.

Field GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_real_eigenvalues_

RealEigenValuesType GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_real_eigenvalues_

No documentation provided.

Field GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_max_ev_

RealType GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_max_ev_

No documentation provided.

Field GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_min_ev_

RealType GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::expected_min_ev_

No documentation provided.

Type alias GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::BaseType

type GeneralizedEigenSolverTestForMatricesWithRealEigenvaluesAndVectors::BaseType

No documentation provided.