/// Calculates the complex roots of the Polynomial by eigenvalue decomposition
/// Calculates the complex roots of the Polynomial by eigenvalue decomposition
/// </summary>
/// </summary>
/// <returns>a vector of complex numbers with the roots</returns>
/// <returns>a vector of complex numbers with the roots</returns>
publicComplex[]GetRoots()
publicComplex[]Roots()
{
{
DenseMatrixA=GetEigValMatrix();
DenseMatrixA=EigenvalueMatrix();
Complex[]roots;
Complex[]roots;
if(A==null)
if(A==null)
@ -337,7 +337,7 @@ namespace MathNet.Numerics
/// </summary>
/// </summary>
/// <returns>Eigenvalue matrix A</returns>
/// <returns>Eigenvalue matrix A</returns>
/// <note>this matrix is similar to the companion matrix of this polynomial, in such a way, that it's transpose is the columnflip of the companion matrix</note>
/// <note>this matrix is similar to the companion matrix of this polynomial, in such a way, that it's transpose is the columnflip of the companion matrix</note>