mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
[apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
Sequence, Integral on CartesianFunction)
This commit is contained in:
committed by
EmilieNumworks
parent
7ea0dbeb56
commit
cdfbc02499
@@ -27,11 +27,6 @@ bool TermSumController::moveCursorHorizontallyToPosition(double position) {
|
||||
return SumGraphController::moveCursorHorizontallyToPosition(std::round(position));
|
||||
}
|
||||
|
||||
double TermSumController::computeSum(double start, double end) {
|
||||
App * myApp = static_cast<App *>(app());
|
||||
return static_cast<Sequence *>(m_function)->sumOfTermsBetweenAbscissa(m_startSum, m_endSum, myApp->localContext());
|
||||
}
|
||||
|
||||
I18n::Message TermSumController::legendMessageAtStep(Step step) {
|
||||
switch(step) {
|
||||
case Step::FirstParameter:
|
||||
|
||||
Reference in New Issue
Block a user