void EigenDecomposition<Real>::Solve (bool increasingSort)
{
    if (mSize == 2)
    {
        Tridiagonal2();
    }
    else if (mSize == 3)
    {
        Tridiagonal3();
    }
    else
    {
        TridiagonalN();
    }

    QLAlgorithm();

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

    GuaranteeRotation();
}
Ejemplo n.º 2
0
void CXYEigen<Real>::DecrSortEigenStuffN ()
{
    TridiagonalN();
    QLAlgorithm();
    DecreasingSort();
    GuaranteeRotation();
}
Ejemplo n.º 3
0
 void DecrSortEigenStuff(void)
 {
   Tridiagonal(); //diagonalize the matrix.
   QLAlgorithm(); //
   DecreasingSort();
   GuaranteeRotation();
 }