SPH
|
#include <Analysis.h>
Public Member Functions | |
QuadraticFunction (const Float a, const Float b, const Float c) | |
y = a*x^2 + b*x + c More... | |
INLINE Float | operator() (const Float x) const |
Float | quadratic () const |
Float | linear () const |
Float | constant () const |
StaticArray< Float, 2 > | solve (const Float y) const |
Returns solutions of a quadratic equation y = a*x^2 + b*x + c. More... | |
Definition at line 355 of file Analysis.h.
y = a*x^2 + b*x + c
Definition at line 361 of file Analysis.h.
|
inline |
Definition at line 376 of file Analysis.h.
|
inline |
Definition at line 373 of file Analysis.h.
Definition at line 366 of file Analysis.h.
|
inline |
Definition at line 370 of file Analysis.h.
|
inline |
Returns solutions of a quadratic equation y = a*x^2 + b*x + c.
Returned array contains 0, 1 or 2 values, depending on the number of real solutions of the equation. If two solutions exist, the first element of the array is always the smaller solution.
Definition at line 384 of file Analysis.h.