CubicRealPolynomial

定义仅含实系数的一元三次(3次)多项式函数。

Methods

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

根据提供的系数计算三次方程的判别式。
Name Type Description
a number 三次项系数。
b number 二次项系数。
c number 一次项系数。
d number 常数项系数。
Returns:
判别式的值。

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

计算给定系数的三次多项式的实根。
Name Type Description
a number 三次项系数。
b number 二次项系数。
c number 一次项系数。
d number 常数项系数。
Returns:
实根数组。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.