English中文

CubicRealPolynomial

定义仅具有实数系数的一个变量的三阶多项式函数。 Defines functions for 3rd order polynomial functions of one variable with only real coefficients.

方法 Methods

static Cesium.CubicRealPolynomial.computeDiscriminant(a, b, c, d)number

提供三次方程与所提供系数的判别式。 Provides the discriminant of the cubic equation from the supplied coefficients.
名称 Name 类型 Type 说明 Description
a number 三阶单项式的系数。 The coefficient of the 3rd order monomial.
b number 二阶单项式的系数。 The coefficient of the 2nd order monomial.
c number 一阶单项式的系数。 The coefficient of the 1st order monomial.
d number 0 阶单项式的系数。 The coefficient of the 0th order monomial.
返回: Returns:
判别式的值。 The value of the discriminant.

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

提供具有所提供系数的三次多项式的实值根。 Provides the real valued roots of the cubic polynomial with the provided coefficients.
名称 Name 类型 Type 说明 Description
a number 三阶单项式的系数。 The coefficient of the 3rd order monomial.
b number 二阶单项式的系数。 The coefficient of the 2nd order monomial.
c number 一阶单项式的系数。 The coefficient of the 1st order monomial.
d number 0 阶单项式的系数。 The coefficient of the 0th order monomial.
返回: Returns:
真正有价值的根源。 The real valued roots.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.