[poincare] Move maximum/roots solver from CartesianFunction to

Poincare::Expression
This commit is contained in:
Émilie Feral
2018-06-04 15:07:44 +02:00
parent fccebdcc06
commit bc33b10368
12 changed files with 43 additions and 348 deletions

View File

@@ -15,7 +15,7 @@ const char * RootGraphController::title() {
return I18n::translate(I18n::Message::Zeros);
}
CartesianFunction::Point RootGraphController::computeNewPointOfInterest(double start, double step, double max, Context * context) {
Expression::Coordinate2D RootGraphController::computeNewPointOfInterest(double start, double step, double max, Context * context) {
return {.abscissa = m_function->nextRootFrom(start, step, max, context), .value = 0.0};
}