MCPcopy Create free account
hub / github.com/tdewolff/canvas / SolveCubicFormula

Function SolveCubicFormula

util.go:1003–1005  ·  view source on GitHub ↗
(a, b, c, d float64)

Source from the content-addressed store, hash-verified

1001}
1002
1003func SolveCubicFormula(a, b, c, d float64) (float64, float64, float64) {
1004 return solveCubicFormula(a, b, c, d)
1005}
1006
1007// see https://www.geometrictools.com/Documentation/LowDegreePolynomialRoots.pdf
1008// see https://github.com/thelonious/kld-polynomial/blob/development/lib/Polynomial.js

Callers

nothing calls this directly

Calls 1

solveCubicFormulaFunction · 0.85

Tested by

no test coverage detected