All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.QuarticRealPolynomial.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package cesium

/**
 * Defines functions for 4th order polynomial functions of one variable with only real coefficients.
 * @see Online Documentation
 */
@JsName("\$cesium__QuarticRealPolynomial")
external object QuarticRealPolynomial {
    /**
     * Provides the discriminant of the quartic equation from the supplied coefficients.
     * @param [a] The coefficient of the 4th order monomial.
     * @param [b] The coefficient of the 3rd order monomial.
     * @param [c] The coefficient of the 2nd order monomial.
     * @param [d] The coefficient of the 1st order monomial.
     * @param [e] The coefficient of the 0th order monomial.
     * @return The value of the discriminant.
     * @see Online Documentation
     */
    fun computeDiscriminant(
        a: Double,
        b: Double,
        c: Double,
        d: Double,
        e: Double,
    ): Double

    /**
     * Provides the real valued roots of the quartic polynomial with the provided coefficients.
     * @param [a] The coefficient of the 4th order monomial.
     * @param [b] The coefficient of the 3rd order monomial.
     * @param [c] The coefficient of the 2nd order monomial.
     * @param [d] The coefficient of the 1st order monomial.
     * @param [e] The coefficient of the 0th order monomial.
     * @return The real valued roots.
     * @see Online Documentation
     */
    fun computeRealRoots(
        a: Double,
        b: Double,
        c: Double,
        d: Double,
        e: Double,
    ): Array
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy