Site Tools


scripting:doc:u:u:msolvecubic

mSolveCubic

(float a, float b, float c, float d)Solve a cubic equation of form a*x^3 + b*x^2 + c*x + d = 0.

@returns A 4-tuple, contanining: sol x0 x1 x2. sol is the number of solutions (being 0, 1, 2, or 3), and x0, x1, x2 are the solutions, if any. Unused x's are undefined.

Syntax

string mSolveCubic(float %a, float %b, float %c, float %d);

Parameters

float %a
No description available.

float %b
No description available.

float %c
No description available.

float %d
No description available.

Return value

string
No description available.

Remarks

Examples

Source

Engine

See also

References

This function is not called by any other functions.

scripting/doc/u/u/msolvecubic.txt · Last modified: by 127.0.0.1