Commit Graph

7312 Commits

Author SHA1 Message Date
Léa Saviot
1fe6881171 [ion] Fix coputation of Record name crc32 2018-11-23 12:03:59 +01:00
Émilie Feral
ccbcf18811 [poincare] VariableContext holds an Expression instead of a Float<T> 2018-11-23 12:03:59 +01:00
Léa Saviot
438968384c [tests] Fix them by using the new APIs 2018-11-23 12:03:59 +01:00
Léa Saviot
0aa9d6d12f [poincare/test] remove unused variable] 2018-11-23 12:03:59 +01:00
Léa Saviot
2ac3dacbc3 [poincare] Extension strings should not include the dot 2018-11-23 12:03:59 +01:00
Léa Saviot
48ee8f85d2 [poincare] Clean Rational and Decimal size() methods 2018-11-23 12:03:59 +01:00
Léa Saviot
08eea64c73 [poincare] SymbolNode needs a size congruent to 0 modulo 4 2018-11-23 12:03:58 +01:00
Léa Saviot
4b4f7590dd [poincare] Add constexpr char[] declaration 2018-11-23 12:03:58 +01:00
Léa Saviot
868f17c1c7 [ion] Add method implementation in Storage 2018-11-23 12:03:58 +01:00
Émilie Feral
e58395e8c8 [sequence] Get rid of Symbol::SpecialSymbols in Sequence 2018-11-23 12:03:58 +01:00
Émilie Feral
b597a79910 [regression] Fix Regression with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
0544aca649 [solver] Fix Solver with variable-length symbols 2018-11-23 12:03:58 +01:00
Léa Saviot
594bc6395e [apps/statistics] Use new Symbol API 2018-11-23 12:03:58 +01:00
Léa Saviot
52a21198a4 [apps/ion] Use the new storage API 2018-11-23 12:03:58 +01:00
Émilie Feral
6113f97027 [solver] Display warning when one of the variable name exceeds 10
characters
2018-11-23 12:03:58 +01:00
Émilie Feral
c7bc22b5e2 [solver] Add message 'VariableNameTooLong' 2018-11-23 12:03:58 +01:00
Léa Saviot
2e2bf96bca [apps/poincare] use Symbol::k_ans constexpr char * 2018-11-23 12:03:58 +01:00
Émilie Feral
042cfca724 [apps] Dummy variable_box_controller 2018-11-23 12:03:58 +01:00
Émilie Feral
9c346c08f3 [poincare] Fix Trigonometry 2018-11-23 12:03:58 +01:00
Émilie Feral
6f45fa2351 [poincare] Fix Power with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
42b4d2d094 [poincare] Fix Integral with variable-length symbol 2018-11-23 12:03:58 +01:00
Émilie Feral
1fc27bc204 [apps] Variable box controller 2018-11-23 12:03:58 +01:00
Émilie Feral
57eebfa9f8 [poincare] GlobalContext: no limit on the number of stored Expression or
Function
2018-11-23 12:03:58 +01:00
Émilie Feral
a4756c1945 [poincare] Cast matrix of char before calling getVariables 2018-11-23 12:03:58 +01:00
Émilie Feral
75a1de32ed [solver] Fix EquationStore with variable-sized variables 2018-11-23 12:03:58 +01:00
Émilie Feral
7f72f820a0 [poincare] Get rid of SpecialSymbols::Ans 2018-11-23 12:03:58 +01:00
Léa Saviot
11b98bb13e [ion] Add test on Storage 2018-11-23 12:03:58 +01:00
Léa Saviot
a49e5801c3 [poincare/parser] Store only in user-defined variables and functions 2018-11-23 12:03:58 +01:00
Émilie Feral
46427c59dd [poincare] Fix Expression::getLinearCoefficients 2018-11-23 12:03:58 +01:00
Émilie Feral
256620854f [poincare] Fix IsMatrix to be used as a ExpressionTest 2018-11-23 12:03:58 +01:00
Léa Saviot
b6cab2cdba [poincare] Replace x with childAtIndex(0) when computing on Function 2018-11-23 12:03:58 +01:00
Léa Saviot
31d3a04678 [poincare] setExpressionForSymbolName takes a symbol name 2018-11-23 12:03:58 +01:00
Émilie Feral
904de27815 [poincare] Fix Expression::isMatrix and Expression::isApproximate 2018-11-23 12:03:58 +01:00
Émilie Feral
35bdb8addf [poincare] Symbol: fix the constructor to match the lexer 2018-11-23 12:03:58 +01:00
Émilie Feral
ddb9740a01 [poincare] Use isPi(), isIComplex(), isExponential() on Symbols 2018-11-23 12:03:58 +01:00
Léa Saviot
6b4a104164 [poincare] GlobalContext stores expressions and functions 2018-11-23 12:03:58 +01:00
Léa Saviot
a4868c8b09 [poincare] Ion::Storage handles fullnames and basenames with extensions 2018-11-23 12:03:58 +01:00
Émilie Feral
a6663f524f [poincare] VariableContext hold a const char * instead of a char 2018-11-23 12:03:58 +01:00
Émilie Feral
8072520686 [poincare] Fix getLinearCoefficients, getVariables signature: the
variables table is a char * table
2018-11-23 12:03:58 +01:00
Émilie Feral
9ac8ddb27a [poincare] Clean 2018-11-23 12:03:58 +01:00
Émilie Feral
1fff98f1c4 [poincare] Change Expression methods' signature to work with const char
* symbol instead of char symbol
2018-11-23 12:03:58 +01:00
Émilie Feral
cc9995d4c2 [poincare] Change getLinearCoefficients to take a variable-sized
variables as paramaters
2018-11-23 12:03:58 +01:00
Émilie Feral
05ce2386cd [poincare] Fix getPolynomialReducedCoefficients signature 2018-11-23 12:03:58 +01:00
Émilie Feral
5beafd2bf3 [poincare] Change Expression::getVariables to get symbols with variable
sizes
2018-11-23 12:03:58 +01:00
Émilie Feral
e1287a20bc [poincare] Fix Symbol 2018-11-23 12:03:58 +01:00
Émilie Feral
bc2ce86825 [poincare] Change signature: polynomialDegree,
getPolynomialCoefficients, getPolynomialReducedCoefficients
2018-11-23 12:03:58 +01:00
Émilie Feral
b6465ecba5 [poincare] Change replaceSymbolWithExpression signature
replaceSymbolWithExpression(char
symbol..)->replaceSymbolWithExpression(const char *..
2018-11-23 12:03:58 +01:00
Émilie Feral
540fab3908 [poincare] Symbol: first version with symbol of variable length 2018-11-23 12:03:58 +01:00
Émilie Feral
02d68cfba5 [poincare] lexer: Symbol do not hold special chars anymore 2018-11-23 12:03:58 +01:00
Émilie Feral
fdfa69a321 [poincare] Delete useless method 2018-11-23 12:03:58 +01:00