functioncubicRoots_Real
Analytical solution for the real roots of a cubic equation (a*x^3+b*x^2+c*x+d=0)
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | a | ||
| Real | b | ||
| Real | c | ||
| Real | d |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | roots | Real roots | |
| Real | nRoots | Number of distinct real solutions expected |