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

Converts polynomial roots to coefficients.

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

The PolyCoeff procedure converts polynomial roots to coefficients. The following scheme is used to construct a coefficients from the roots: 

 

P(x) = coeff[0]*x^n + coeff[1]*x^(n-1) + .. + coeff[n] = (x - roots[0])* .. *(x - roots[n-1]) n .. order of the polynomial

 

The length and complex property of the Coeff object are set automatically. The inverse to this routine is PolyRoots

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!