Léa Saviot
|
aaca53e9b0
|
[poincare] Fix symbol constructor: name and its length are mandatory
|
2018-11-23 12:03:59 +01:00 |
|
Émilie Feral
|
704cf01087
|
[poincare] Store: clean templatedApproximate
|
2018-11-23 12:03:59 +01:00 |
|
Léa Saviot
|
2c8a8f02ee
|
[poincare] Expression for undefined symbol returns Uninitialized
|
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
|
2e2bf96bca
|
[apps/poincare] use Symbol::k_ans constexpr char *
|
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
|
57eebfa9f8
|
[poincare] GlobalContext: no limit on the number of stored Expression or
Function
|
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 |
|
É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
|
ee4f3cdef6
|
[poincare] TreePool: fix moveChildren with aligned nodes
|
2018-11-23 11:58:56 +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 |
|
Léa Saviot
|
a8844d9e72
|
[poincare] Rename GhostReference as Ghost
|
2018-11-16 14:13:17 +01:00 |
|
Léa Saviot
|
bfc24f86c9
|
[poincare] Clean Charlayout baseline computation
|
2018-11-15 11:56:00 +01:00 |
|
Léa Saviot
|
8d9ac798db
|
[poincare] Dividing 3E-2 in Natural edition should give (3E-2)/|
|
2018-11-13 15:51:58 +01:00 |
|
Émilie Feral
|
330b93a3ae
|
[poincare] Tests: FIXME: some tests break travis libm implementation
|
2018-10-29 09:49:49 +01:00 |
|