mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 22:30:30 +01:00
[poincare] Move maximum/roots solver from CartesianFunction to
Poincare::Expression
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user