mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps] Change MathToolbox's binomial coefficient layout.
It now uses a Parenthesis layout. Change-Id: Ia83d7881a57bc91e41d125fef1e2a648d0278946
This commit is contained in:
@@ -45,16 +45,14 @@ const ToolboxMessageTree complexChildren[5] = {
|
||||
const_cast<int *>(&pointedLayoutPathConj[0]),
|
||||
1)};
|
||||
|
||||
const int pointedLayoutPathBinomial[] = {1,0};
|
||||
const int pointedLayoutPathBinomial[] = {0, 0};
|
||||
const ToolboxMessageTree probabilityChildren[2] = {
|
||||
ToolboxMessageTree(I18n::Message::BinomialCommandWithArg, I18n::Message::Combination, I18n::Message::BinomialCommandWithArg, nullptr, 0,
|
||||
new HorizontalLayout(
|
||||
new ParenthesisLeftLayout(),
|
||||
new ParenthesisLayout(
|
||||
new GridLayout(Poincare::ExpressionLayoutArray(
|
||||
new EmptyVisibleLayout(),
|
||||
new EmptyVisibleLayout()).array(),
|
||||
2, 1, false),
|
||||
new ParenthesisRightLayout(), false),
|
||||
2, 1, false)),
|
||||
const_cast<int *>(&pointedLayoutPathBinomial[0]),
|
||||
2),
|
||||
ToolboxMessageTree(I18n::Message::PermuteCommandWithArg, I18n::Message::Permutation, I18n::Message::PermuteCommandWithArg)};
|
||||
|
||||
Reference in New Issue
Block a user