Declaration

func GSSolveCubic(
    _ a: Double,
    _ b: Double,
    _ c: Double,
    _ d: Double,
    _ roots: UnsafeMutablePointer<Double>
)

Declaration

void GSSolveCubic(
    long double a,
    long double b,
    long double c,
    long double d,
    long double roots[3]
);

Declaration

GSSolveCubic(
    a: long double,
    b: long double,
    c: long double,
    d: long double,
    roots: long double
)

See Also

Curve Parameters and Solvers