Skip to content

KBE3D / KBCore / Cesium / QuadraticRealPolynomial / computeDiscriminant

函数: computeDiscriminant()

computeDiscriminant(a: number, b: number, c: number): 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.

返回

number

The value of the discriminant.

KBE3D @3.0.0 Copyright © 2024-present KBE3D