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
Example

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.