You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Polynoms Class > Polynoms Methods > PolyCoeff Method > Polynoms.PolyCoeff Method (TMtx, TVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Polynoms.PolyCoeff Method (TMtx, TVec)

Returns coefficients of the characteristic polynomial.

Syntax
C#
Visual Basic
public static void PolyCoeff(TMtx Mtx, TVec Coeff);

Returns coefficients of the characteristic polynomial: det( Mtx - Lambda * I ).

Find coefficients of a characteristic polynomial:

using Dew.Math; using Dew.Math.Units; using Dew.Math.Editors; namespace Dew.Examples { private void Example() { Vector Coeff = new Vector(0); Matrix A = new Matrix(0,0); A.SetIt(3,3,false, new double[] {1, 4, -1, 2, 1, 5, 3, -2, 0}); Polynoms.PolyCoeff(A,Coeff); MtxVecEdit.ViewValues(Coeff,"Coefficients"); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!