mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[toolbox] Add a default value to sum and product
This commit is contained in:
@@ -14,8 +14,8 @@ using namespace Poincare;
|
||||
const ToolboxMessageTree calculChildren[4] = {
|
||||
ToolboxMessageTree(I18n::Message::DiffCommandWithArg, I18n::Message::DerivateNumber, I18n::Message::DiffCommandWithArg),
|
||||
ToolboxMessageTree(I18n::Message::IntCommandWithArg, I18n::Message::Integral, I18n::Message::IntCommand),
|
||||
ToolboxMessageTree(I18n::Message::SumCommandWithArg, I18n::Message::Sum, I18n::Message::SumCommandWithArg),
|
||||
ToolboxMessageTree(I18n::Message::ProductCommandWithArg, I18n::Message::Product, I18n::Message::ProductCommandWithArg)};
|
||||
ToolboxMessageTree(I18n::Message::SumCommandWithArg, I18n::Message::Sum, I18n::Message::SumCommand),
|
||||
ToolboxMessageTree(I18n::Message::ProductCommandWithArg, I18n::Message::Product, I18n::Message::ProductCommand)};
|
||||
|
||||
const ToolboxMessageTree complexChildren[5] = {
|
||||
ToolboxMessageTree(I18n::Message::AbsCommandWithArg,I18n::Message::ComplexAbsoluteValue, I18n::Message::AbsCommandWithArg),
|
||||
|
||||
@@ -50,6 +50,7 @@ PermuteCommandWithArg = "permute(n,r)"
|
||||
P = "p"
|
||||
Prediction95CommandWithArg = "prediction95(p,n)"
|
||||
PredictionCommandWithArg = "prediction(p,n)"
|
||||
ProductCommand = "product(ø,n,ø,ø)"
|
||||
ProductCommandWithArg = "product(f(n),n,nmin,nmax)"
|
||||
QuoCommandWithArg = "quo(p,q)"
|
||||
RandintCommandWithArg = "randint(a,b)"
|
||||
@@ -65,6 +66,7 @@ Shift = "shift"
|
||||
Sigma = "σ"
|
||||
SinhCommandWithArg = "sinh(x)"
|
||||
SortCommandWithArg = "sort<(L)"
|
||||
SumCommand = "sum(ø,n,ø,ø)"
|
||||
SumCommandWithArg = "sum(f(n),n,nmin,nmax)"
|
||||
Sxy = "Σxy"
|
||||
TanhCommandWithArg = "tanh(x)"
|
||||
|
||||
Reference in New Issue
Block a user