Skip to content

KBE3D / KBCore / Cesium / CubicRealPolynomial / computeRealRoots

函数: computeRealRoots()

computeRealRoots(a: number, b: number, c: number, d: number): number[]

Provides the real valued roots of the cubic polynomial with the provided coefficients.

参数

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

The coefficient of the 0th order monomial.

返回

number[]

The real valued roots.

KBE3D @3.0.0 Copyright © 2024-present KBE3D