English中文

QuadraticRealPolynomial

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

方法 Methods

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

提供二次方程与所提供系数的判别式。 Provides the discriminant of the quadratic equation from the supplied coefficients.
名称 Name 类型 Type 说明 Description
a number 二阶单项式的系数。 The coefficient of the 2nd order monomial.
b number 一阶单项式的系数。 The coefficient of the 1st order monomial.
c number 0 阶单项式的系数。 The coefficient of the 0th order monomial.
返回: Returns:
判别式的值。 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.
名称 Name 类型 Type 说明 Description
a number 二阶单项式的系数。 The coefficient of the 2nd order monomial.
b number 一阶单项式的系数。 The coefficient of the 1st order monomial.
c 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.