1 #ifndef GRAPH_CARTESIAN_FUNCTION_H 2 #define GRAPH_CARTESIAN_FUNCTION_H 4 #include "../shared/function.h" 24 char symbol()
const override;
26 constexpr
static double k_precision = 1.0E-5;
27 constexpr
static double k_sqrtEps = 1.4901161193847656E-8;
28 constexpr
static double k_goldenRatio = 0.381966011250105151795413165634361882279690820194237137864;
36 bool m_displayDerivative;
Point nextMaximumFrom(double start, double step, double max, Poincare::Context *context) const
double sumBetweenBounds(double start, double end, Poincare::Context *context) const override
const char * text() const
void setDisplayDerivative(bool display)
double approximateDerivative(double x, Poincare::Context *context) const
double nextRootFrom(double start, double step, double max, Poincare::Context *context) const
char symbol() const override
constexpr KDColor KDColorBlack
CartesianFunction(const char *text=nullptr, KDColor color=KDColorBlack)
Function(const char *name=nullptr, KDColor color=KDColorBlack)
Point nextIntersectionFrom(double start, double step, double max, Poincare::Context *context, const Shared::Function *function) const
Point nextMinimumFrom(double start, double step, double max, Poincare::Context *context) const