[apps/toolbox] Add Vector operation toolbox menus

Change-Id: Iab8faa45a3f30be979f7d705ac169e8f2b801da9
This commit is contained in:
Hugo Saint-Vignes
2020-07-21 10:40:21 +02:00
committed by Émilie Feral
parent 8688fd5b95
commit ca91b7c43d
9 changed files with 38 additions and 0 deletions

View File

@@ -76,6 +76,12 @@ const ToolboxMessageTree matricesChildren[] = {
ToolboxMessageTree::Leaf(I18n::Message::ReducedRowEchelonFormCommandWithArg, I18n::Message::ReducedRowEchelonForm)
};
const ToolboxMessageTree vectorsChildren[] = {
ToolboxMessageTree::Leaf(I18n::Message::DotCommandWithArg, I18n::Message::Dot),
ToolboxMessageTree::Leaf(I18n::Message::CrossCommandWithArg, I18n::Message::Cross),
ToolboxMessageTree::Leaf(I18n::Message::NormVectorCommandWithArg, I18n::Message::NormVector),
};
#if LIST_ARE_DEFINED
const ToolboxMessageTree listsChildren[] = {
ToolboxMessageTree::Leaf(I18n::Message::SortCommandWithArg, I18n::Message::Sort),
@@ -286,6 +292,7 @@ const ToolboxMessageTree menu[] = {
ToolboxMessageTree::Node(I18n::Message::Probability, probabilityChildren),
ToolboxMessageTree::Node(I18n::Message::Arithmetic, arithmeticChildren),
ToolboxMessageTree::Node(I18n::Message::Matrices, matricesChildren),
ToolboxMessageTree::Node(I18n::Message::Vectors, vectorsChildren),
#if LIST_ARE_DEFINED
ToolboxMessageTree::Node(I18n::Message::Lists,listsChildren),
#endif

View File

@@ -94,12 +94,14 @@ CodeApp = "Python"
ConfidenceCommandWithArg = "confidence(f,n)"
ConjCommandWithArg = "conj(z)"
CoshCommandWithArg = "cosh(x)"
CrossCommandWithArg = "cross(u,v)"
D = "d"
DeterminantCommandWithArg = "det(M)"
DiffCommandWithArg = "diff(f(x),x,a)"
DiffCommand = "diff(\x11,x,\x11)"
DimensionCommandWithArg = "dim(M)"
DiscriminantFormulaDegree2 = "Δ=b^2-4ac"
DotCommandWithArg = "dot(u,v)"
E = "e"
Equal = "="
FactorCommandWithArg = "factor(n)"
@@ -130,6 +132,7 @@ N = "n"
NormCDFCommandWithArg = "normcdf(a,μ,σ)"
NormCDF2CommandWithArg = "normcdf2(a,b,μ,σ)"
NormPDFCommandWithArg = "normpdf(x,μ,σ)"
NormVectorCommandWithArg = "norm(u)"
PermuteCommandWithArg = "permute(n,r)"
P = "p"
Prediction95CommandWithArg = "prediction95(p,n)"

View File

@@ -136,6 +136,10 @@ Trace = "Spur"
Dimension = "Größe"
RowEchelonForm = "Stufenform"
ReducedRowEchelonForm = "Reduzierte Stufenform"
Vectors = "Vektoren"
Dot = "Skalarprodukt"
Cross = "Kreuzprodukt"
NormVector = "Norm"
Sort = "Sortieren aufsteigend"
InvSort = "Sortieren absteigend"
Maximum = "Maximalwert"

View File

@@ -136,6 +136,10 @@ Trace = "Trace"
Dimension = "Size"
RowEchelonForm = "Row echelon form"
ReducedRowEchelonForm = "Reduced row echelon form"
Vectors = "Vectors"
Dot = "Dot product"
Cross = "Cross product"
NormVector = "Norm"
Sort = "Sort ascending "
InvSort = "Sort descending"
Maximum = "Maximum"

View File

@@ -136,6 +136,10 @@ Trace = "Traza"
Dimension = "Tamaño"
RowEchelonForm = "Matriz escalonada"
ReducedRowEchelonForm = "Matriz escalonada reducida"
Vectors = "Vectores"
Dot = "Producto escalar"
Cross = "Producto vectorial"
NormVector = "Norma"
Sort = "Clasificación ascendente"
InvSort = "Clasificación descendente"
Maximum = "Máximo"

View File

@@ -136,6 +136,10 @@ Trace = "Trace de M"
Dimension = "Taille de M"
RowEchelonForm = "Forme échelonnée de M"
ReducedRowEchelonForm = "Forme échelonnée réduite de M"
Vectors = "Vecteurs"
Dot = "Produit scalaire"
Cross = "Produit vectoriel"
NormVector = "Norme"
Sort = "Tri croissant"
InvSort = "Tri décroissant"
Maximum = "Maximum"

View File

@@ -136,6 +136,10 @@ Trace = "Traccia"
Dimension = "Dimensione"
RowEchelonForm = "Matrice a scalini"
ReducedRowEchelonForm = "Matrice ridotta a scalini"
Vectors = "Vettori"
Dot = "Prodotto scalare"
Cross = "Prodotto vettoriale"
NormVector = "Norma"
Sort = "Ordine crescente"
InvSort = "Ordine decrescente"
Maximum = "Massimo"

View File

@@ -136,6 +136,10 @@ Trace = "Spoor"
Dimension = "Afmeting"
RowEchelonForm = "Echelonvorm"
ReducedRowEchelonForm = "Gereduceerde echelonvorm"
Vectors = "Vectoren"
Dot = "Inwendig product"
Cross = "Kruisproduct"
NormVector = "Norm"
Sort = "Sorteer oplopend "
InvSort = "Sort aflopend"
Maximum = "Maximum"

View File

@@ -136,6 +136,10 @@ Trace = "Traço"
Dimension = "Dimensão"
RowEchelonForm = "Matriz escalonada"
ReducedRowEchelonForm = "Matriz escalonada reduzida"
Vectors = "Vetores"
Dot = "Produto escalar"
Cross = "Produto vetorial"
NormVector = "Norma"
Sort = "Ordem crescente"
InvSort = "Ordem decrescente"
Maximum = "Máximo"