Commit Graph

6478 Commits

Author SHA1 Message Date
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
Léa Saviot
787f770a91 [poincare] Add "any symbol" parsing rule 2018-11-23 12:03:58 +01:00
Léa Saviot
522f5e781e [poincare] Function expression 2018-11-23 12:03:58 +01:00
Léa Saviot
3bbb8b39d1 [poincare] Add context argument to some ExpressionNode methods 2018-11-23 12:03:58 +01:00
Léa Saviot
1f4faff83e [poincare] Remove unused code 2018-11-23 12:03:58 +01:00
Émilie Feral
7e52483eec [build] emscripten: add 'Pointer_stringify' as EXTRA_EXPORTED_RUNTIME_METHODS 2018-11-23 12:03:35 +01:00
Émilie Feral
ee4f3cdef6 [poincare] TreePool: fix moveChildren with aligned nodes 2018-11-23 11:58:56 +01:00
Léa Saviot
6de650064e [build] Disable WebAssembly on emscripten 2018-11-23 11:57:44 +01:00
Émilie Feral
8287264503 [poincare] TreePool: allocation returns aligned address 2018-11-22 17:35:34 +01:00
Émilie Feral
c10c301d6d [poincare] Helpers: add a method to padd a size to a given alignment 2018-11-22 17:35:34 +01:00
Émilie Feral
99d8545830 [poincare] Rational: fix initToMatchSize 2018-11-22 17:35:34 +01:00
Léa Saviot
ed090577a3 [poincare] Init TreeNodes so they can give their size as soon as created 2018-11-22 17:35:34 +01:00
Émilie Feral
1982af1613 [regression] CalculationController: fix sub cell selection 2018-11-20 11:22:40 +01:00
Léa Saviot
f6edf05708 [calculation] Compare simplified exact and approx outputs to determine = 2018-11-19 18:02:55 +01:00
Léa Saviot
154d1e7307 [apps/calculation] Inline constructor 2018-11-19 18:02:55 +01:00
Léa Saviot
ed5a6d4a03 [apps/calculation] Remove unneeded arguments 2018-11-19 18:02:55 +01:00
Léa Saviot
6c5b0def7b [apps/calculation] Test on equal/approximate display 2018-11-19 18:02:55 +01:00