Commit Graph

67 Commits

Author SHA1 Message Date
Émilie Feral
f70f72da1a Change new Layout -> LayoutRef 2018-09-06 16:04:17 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Léa Saviot
d890168241 [poincare] Change all subscripts font-size to base layout font-size 2018-07-19 10:16:31 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
d94ed82ab8 [poincare] Create class Approximation<T> to avoid useless conversion
between Decimal and float/double
2018-07-18 16:32:50 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
5378b90da8 [sequence] SequenceDefinition: Delete weird empty space to avoid getting
u(n ) when applying ExpressionLayout::writeInTextBuffer
2018-06-07 14:46:14 +02:00
Émilie Feral
fccebdcc06 [poincare] Move maximum/roots solver from CartesianFunction to Poincare::Expression (part I) 2018-06-07 13:46:19 +02:00
Émilie Feral
e05709f097 [shared] Factorize FunctionStore in ModelStore<T> (for future
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
3a29f086a0 [sequence] Fix u(0), u(1) layout in sequence list 2018-05-17 15:39:14 +02:00
Léa Saviot
a67f422ab7 [apps/sequence] Fix first/second term index display.
Before, it was always u0 and u1.

Change-Id: Iad5a3992a16f4b4a55e295b24f6a784a17f2807b
2018-05-16 18:36:34 +02:00
Léa Saviot
16de5291bb [apps/sequence] Fix "Un" size in sequence table
Change-Id: I8f46a2f6f49da08a58d8c24252cf9fa8d09d2a0e
2018-05-15 16:29:35 +02:00
Léa Saviot
d51ddc55a1 [apps/sequence] Put a condition on SeqType to get FirstInitialCondName
This condition was removed non-intentionnally by a previous commit

Change-Id: I643351b3ca965405753c0757971871c71838e405
2018-04-25 13:58:42 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
cdfbc02499 [apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
Sequence, Integral on CartesianFunction)
2018-01-30 18:19:27 +01:00
Émilie Feral
59fdcde548 [poincare] Avoid returning partial simplification when the
simplification process has been interrupted
2018-01-30 16:17:03 +01:00
Léa Saviot
a435c548da [apps/sequence] Use the new layouts in the Sequence app.
Change-Id: I8b079bfabccd54472e0ba0fac17b87dbaf3678ee
2018-01-15 11:58:07 +01:00
Émilie Feral
6c070b63fc [apps] Sequence: fix bug due to const char * comparison 2018-01-03 16:16:34 +01:00
Émilie Feral
2452e3c2c1 [apps] Sequence: add forgotten instanciation 2017-12-20 17:41:03 +01:00
Émilie Feral
945d6df444 [apps] Fix typo: Explicite->Explicit 2017-12-20 17:41:03 +01:00
Émilie Feral
25a5748f85 [apps] Sequence: add a customizable initial rank in sequence 2017-12-20 17:41:03 +01:00
Émilie Feral
cb754ab6d5 [apps] Sequence: invalidate the context cache when the sequences are
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
032cafdb04 [apps] Sequence: enable to defined dependent sequences 2017-12-20 17:41:03 +01:00
Émilie Feral
2c06727f36 [apps] Simplify expressions in sequence and function applications
Change-Id: I2708934d3b5c90e8692e50d939b3a13028b8615e
2017-11-24 14:39:06 +01:00
Émilie Feral
fda382cc0d [poincare] Change name: evaluate->approximate
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
76cbd2678d [poincare] Change names: approximate->approximateToScalar
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
6c51c584f2 [apps] Change Calculation to hold an exact and an approximate output
Change-Id: I1805839e17cd42b82f06ce0a320d20b49cd2a6cd
2017-11-21 17:37:25 +01:00
Romain Goyet
3d10d3e951 Use zero-initialization for character arrays
It makes some not-fully-compliant compilers happy
2017-10-19 17:31:40 +02:00
Émilie Feral
23629b0939 [poincare] Restructuration of poincare (no duplication of children
storage)

Change-Id: Ia10c3cc83e10d238750c6954b7c093d26b762c94
2017-09-21 13:49:06 +02:00
Émilie Feral
be8a0c6df3 [apps] Replace sizeInBits>>2 sizeInBits/sizeof(uint32_t) in checksums
Change-Id: I4f96514caa4552d2158bb9ebdc328a6453554934
2017-08-25 14:18:27 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
832af9f9f4 [apps/sequence][apps/graph] Checksum takes into account whether the
function is active and its name

Change-Id: I790d9a793c512a686f21f1db4fc0848a16baea5c
2017-05-29 11:41:39 +02:00
Émilie Feral
eb19fde371 [apps/sequence] Fix bug
Change-Id: Id99ddaa85fc04ba621f1a1db3a95e97636236956
2017-05-24 14:38:49 +02:00
Émilie Feral
ba7d740a10 [apps/sequence][apps/graph] CRC should be called on sizes multiple of 4
Change-Id: I4a55c14e1418f730051252cabef324833279747f
2017-05-24 14:38:32 +02:00
Émilie Feral
69036ffe4d [apps/sequence][apps/graph] Reimplement checksum to avoid risking
overflowing the stack

Change-Id: Ia2b70ceb174d70c20b0e7d635183a890629e4b24
2017-05-22 16:35:27 +02:00
Émilie Feral
dbacafe2e8 [apps/sequence] Give an example of content in recurrent sequences
Change-Id: If80b62673d21954d96cd128108cb783b2d4487cc
2017-05-19 14:40:03 +02:00
Émilie Feral
eb476610fc [apps/sequence][apps/graph] Fix bug
Change-Id: I998421900b993099c16d19fa825f8e4d180ed22c
2017-05-19 11:35:27 +02:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
f81ae8d5e5 [apps/sequence] Avoid infinite loop
Change-Id: Ib84ce244c8faeabc9d71bccd590b3a242cef184c
2017-05-10 16:30:45 +02:00
Émilie Feral
32d48fb94b [apps/sequence][apps/graph] fix behaviour when deleting functions
Change-Id: Ieccc85887fa0077446aaf57fee105b7fd2f3bff9
2017-05-10 13:24:47 +02:00
Émilie Feral
e5dd0d8d7f [apps/sequence] Fix error in copy assignment of sequence
Change-Id: If27924c6001a8d7011371336ffbaf012f9d8bbc9
2017-05-10 11:33:25 +02:00
Émilie Feral
0b9abfa869 [apps/sequence] Unable linked sequence (return NAN when evaluate)
Change-Id: I0024e3912bb038343413bcfea78fc4cf18a739f7
2017-05-10 11:17:32 +02:00
Émilie Feral
95396ded15 [apps/sequence] Changing sequence type automatically reinit sequence
Change-Id: I1342f5a2a8ca5dd4ff02178c3b2d6c6f44a8c194
2017-05-09 14:54:44 +02:00
Émilie Feral
0dfbf3ade3 [apps] Rule of 5 (2)
Change-Id: I62eebed201a9f61b3f89233fda4e714f0bab0db7
2017-05-09 14:12:13 +02:00
Émilie Feral
ce4ce94c67 [apps/sequence] Delete useless call in destructor
Change-Id: I249722e150d90e01b07a71f62a12f63b73c524de
2017-05-03 14:22:52 +02:00