Expand description
Common mathematical operations
Macrosยง
- define_
float_ ๐funcs - Defines a trait that chooses between libstd or libm implementations of float methods.
Constantsยง
- GAUSS_
LEGENDRE_ COEFFS_ 3 - GAUSS_
LEGENDRE_ COEFFS_ 4 - GAUSS_
LEGENDRE_ COEFFS_ 5 - GAUSS_
LEGENDRE_ COEFFS_ 6 - GAUSS_
LEGENDRE_ COEFFS_ 7 - GAUSS_
LEGENDRE_ COEFFS_ 8 - GAUSS_
LEGENDRE_ COEFFS_ 9 - GAUSS_
LEGENDRE_ COEFFS_ 8_ HALF - GAUSS_
LEGENDRE_ COEFFS_ 11 - GAUSS_
LEGENDRE_ COEFFS_ 16 - GAUSS_
LEGENDRE_ COEFFS_ 24 - GAUSS_
LEGENDRE_ COEFFS_ 32 - GAUSS_
LEGENDRE_ COEFFS_ 16_ HALF - GAUSS_
LEGENDRE_ COEFFS_ 24_ HALF - GAUSS_
LEGENDRE_ COEFFS_ 32_ HALF
Traitsยง
- Float
Ext - Adds convenience methods to
f32
andf64
.
Functionsยง
- depressed_
cubic_ ๐dominant - Dominant root of depressed cubic x^3 + gx + h = 0.
- eps_rel ๐
- Compute epsilon relative to coefficient.
- factor_
quartic_ inner - Factor a quartic into two quadratics.
- solve_
cubic - Find real roots of cubic equation.
- solve_
itp - Solve an arbitrary function for a zero-crossing.
- solve_
itp_ ๐fallible - A variant ITP solver that allows fallible functions.
- solve_
quadratic - Find real roots of quadratic equation.
- solve_
quartic - Find real roots of a quartic equation.
- solve_
quartic_ ๐inner