solveQuadratic
solveQuadratic(a, b, c, result, result_offset) ⇒ number
Return solutions for a quadratic equation
Kind: global function
Returns: number
- number of found solutions (roots)
Param | Type | Description |
---|---|---|
a | number | |
b | number | |
c | number | |
result | Array.<number> | solutions are written here |
result_offset | number | offset into result array where solutions are written to |