Function
NumCosmoMathpoly_roots_real_quartic
Declaration [src]
gint
ncm_poly_roots_real_quartic (
const gdouble* a,
gdouble* roots
)
Description [src]
Real roots of a genuine quartic ($a_4\neq0$ required), via bracket-and-
bisect on its derivative’s (cubic) real roots — see NcmPolyRoots.
Parameters
a-
Type: An array of
gdoubleAscending coefficients $a_0+a_1x+\dots+a_4x^4$, $a_4\neq0$.
The array must have 5 elements. The data is owned by the caller of the function. roots-
Type: An array of
gdoubleThe real roots found.
The argument will be set by the function. The array must have 4 elements. The returned data is owned by the function.