Example #1
0
void CXYEigen<Real>::IncrSortEigenStuffN ()
{
    TridiagonalN();
    QLAlgorithm();
    IncreasingSort();
    GuaranteeRotation();
}
void EigenDecomposition<Real>::Solve (bool increasingSort)
{
    if (mSize == 2)
    {
        Tridiagonal2();
    }
    else if (mSize == 3)
    {
        Tridiagonal3();
    }
    else
    {
        TridiagonalN();
    }

    QLAlgorithm();

    if (increasingSort)
    {
        IncreasingSort();
    }
    else
    {
        DecreasingSort();
    }

    GuaranteeRotation();
}