Commit Graph

25 Commits

Author SHA1 Message Date
Léa Saviot
4c5251f04f [unicode] Use unicode when dealing with chars - Part 2 2019-05-03 15:53:19 +02:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
fe8825df35 [shared] PoincareHelpers: update the complexFormat (force it to
Cartesian with complex input).
2019-01-10 11:42:04 +01:00
Émilie Feral
ecf3f2ea0f [poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value

All approximation methods take the complex format into account.
2019-01-10 11:42:04 +01:00
Émilie Feral
90befab6ce [shared] Change name: StorageExpressionModel::expression --> expressionReduced 2018-11-23 12:04:08 +01:00
Ruben Dashyan
61b1b8a09d [poincare] Add Expression::FunctionHelper class
That class is meant to contain data about named functions (e.g. sin,
tan...) in one place: their name, their number of children and a pointer to
a builder. The derived class corresponding to each such function
contains a private instance (m_functionHelper) and a getter.
The previous parser is removed, along with unecessary
constructors (used by the previous parsers).
2018-11-23 12:04:05 +01:00
Émilie Feral
244baec90f [poincare] Integral takes 4 arguments (integrand, differential variable,
lower bound, upper bound)
2018-11-23 12:04:03 +01:00
Émilie Feral
c09056b98a [shared] StorageCartesianFunction: sumBetweenBounds does not work, add a
comment to explain why
2018-11-23 12:04:03 +01:00
Émilie Feral
344351f5c2 [shared] StorageCartesianFunction: fix nextIntersection to avoid taking
2 function pointers (indeed, 2 functions pointers can not live at the
same time. They are soon to be ExpiringPointer)
2018-11-23 12:04:03 +01:00
Léa Saviot
f8df2a2fba [apps] Remove unneeded dependency 2018-11-23 12:04:02 +01:00
Émilie Feral
e4e19b3b74 [sahred] StorageCartesianFunction: iterate on colors 2018-11-23 12:04:02 +01:00
Émilie Feral
27e0d5b117 [shared] StorageCartesianFunction: fix DefaultName 2018-11-23 12:04:02 +01:00
Émilie Feral
bdef6cc85a [shared] StorageCartesianFunction: make first default names f, g, h, p 2018-11-23 12:04:02 +01:00
Émilie Feral
1808629c30 [shared] StorageCartesianFunction: DefaultName is base name 2018-11-23 12:04:02 +01:00
Émilie Feral
23e9827524 [shared] GlobalContext: change name RecordBaseNameIsFree -->
SymbolAbstractNameIsFree
2018-11-23 12:04:01 +01:00
Léa Saviot
aa46899af1 [apps] Fix StorageCartesianFunction::derivativeNameWithArgument 2018-11-23 12:04:01 +01:00
Léa Saviot
ca3f88185f [apps/graph] Remove old files 2018-11-23 12:04:01 +01:00
Léa Saviot
393bc6c233 [apps] Fix Function creation from Calculation 2018-11-23 12:04:01 +01:00
Émilie Feral
41c9e90cce [shared] StorageCartesianFunction: fix DefaultName 2018-11-23 12:04:01 +01:00
Émilie Feral
3cedfb84e9 [shared] StorageCartesianFunction: add a method
derivativeNameWithArgument
2018-11-23 12:04:01 +01:00
Émilie Feral
dd74812779 [shared] Fix StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
5a9c0b1b84 [apps] GlobalCtxt::SetExpForFunctionRecord used in StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
072e52ae85 [shared] Re-design StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
97cba08b23 [apps] Clean GLobalContext 2018-11-23 12:04:01 +01:00
Léa Saviot
20e440a216 [apps] Move StorageCartesianFunction from graph to shared 2018-11-23 12:04:00 +01:00