QuadraticRealPolynomial

Defines functions for 2nd order polynomial functions of one variable with only real coefficients.

方法

static Cesium.QuadraticRealPolynomial.computeDiscriminant(a, b, c)number

Provides the discriminant of the quadratic equation from the supplied coefficients.
参数名称 类型 描述信息
a number The coefficient of the 2nd order monomial.
b number The coefficient of the 1st order monomial.
c number The coefficient of the 0th order monomial.
返回值:
The value of the discriminant.

static Cesium.QuadraticRealPolynomial.computeRealRoots(a, b, c)Array.<number>

Provides the real valued roots of the quadratic polynomial with the provided coefficients.
参数名称 类型 描述信息
a number The coefficient of the 2nd order monomial.
b number The coefficient of the 1st order monomial.
c number The coefficient of the 0th order monomial.
返回值:
The real valued roots.