Commit Graph

1079 Commits

Author SHA1 Message Date
Léa Saviot
a945c02edf [poincare/Coordinate2D] Rename members x1 and x2 2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Léa Saviot
1caa0fb051 [apps/shared] tMin and tMax attributes to CartesianFunction 2019-08-29 11:07:22 +02:00
Léa Saviot
a45af36bfe [apps/curve_view_cursor] t member 2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06 [poincare/Coordinate2D] Template for double or float 2019-08-29 11:07:22 +02:00
Léa Saviot
22dd9752a5 [apps/function_curve_parameter_controller] Coding style 2019-08-29 11:07:22 +02:00
Ruben Dashyan
82951b0672 [apps] App::XNT() returns a CodePoint instead of a char 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9a803013b6 [apps/graph/graph_view] WIP: drawCurve according to PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
73a7098d80 [apps/shared/curve_view] drawCurve gets tStart, tEnd, tStep as parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f7aebb045 [apps/shared/curve_view] New boolean parameter controls whether drawCurve draws straight lines early 2019-08-29 11:07:22 +02:00
Ruben Dashyan
965ad60583 [apps/shared/curve_view] WIP: Call x|yEvaluation with parameter t 2019-08-29 11:07:22 +02:00
Ruben Dashyan
f46692f9b4 [apps/shared/curve_view] WIP: jointDots takes t and s float parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
ae2e282b4a [apps/shared/curve_view] drawCurve takes x|yEvaluation parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
fbee2d81e4 [apps/*/curve_view] Use drawCartesianCurve specifically for drawing Cartesian curves 2019-08-29 11:07:22 +02:00
Ruben Dashyan
6dd9913f9b [apps/shared/cartesian_function] Check the reduced expression of parametric functions is a 2x1 matrix 2019-08-29 11:07:22 +02:00
Ruben Dashyan
ee1cdea837 [apps/shared/cartesian_function] Function symbol depends on its plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
a2dcad069f [apps/shared/function_banner_delegate] reloadBannerView... handles function symbol as CodePoint 2019-08-29 11:07:22 +02:00
Ruben Dashyan
27b9ede90b [apps/shared/function] nameWithArgument handles 2-char-long argument CodePoints 2019-08-29 11:07:22 +02:00
Ruben Dashyan
efc5b15211 [apps/shared/cartesian_function] Define PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
43d72e082f [apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
1d0668a84c [apps] Move some methods from Shared::CartesianFunction to GraphControllers 2019-08-29 11:07:22 +02:00
Ruben Dashyan
2866a8f861 [apps/shared/sum_graph_controller] Clean start/endSum 2019-08-29 11:07:22 +02:00
Ruben Dashyan
b2bca3e4aa [apps/shared/sum_graph_controller] Remove redundancy 2019-08-29 11:07:22 +02:00
Ruben Dashyan
70f96ee912 [apps/shared/global_context] Remove ExpressionFromRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
84130236a8 [apps/shared/global_context] Inline SetExpressionForFunctionRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
f4f45caf19 [apps/shared/expression_model(_handle)] Mark setExpressionContent's Expression parameter as const 2019-08-29 11:07:22 +02:00
Ruben Dashyan
e03e7717e9 [apps/shared/expression_model] Mark updateNewDataWithExpression's Expression parameter as const 2019-08-29 11:07:22 +02:00
Ruben Dashyan
d20d0becc4 [apps/*/expression_model(_handle)] Remove unknownSymbol() 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e98a474f2b [apps/shared/expression_model(_handle)] Do not create layout from unknown symbol 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e385205992 [apps] VariableBoxController gets layouts through GlobalContext::LayoutForRecord 2019-08-29 11:07:21 +02:00
Ruben Dashyan
c2b8781983 [apps/*/function] Move implementation of evaluateAtAbscissa to CartesianFunction 2019-08-29 11:07:21 +02:00
Ruben Dashyan
5e365104ae [apps/shared/function] Factor templatedApproximateAtAbscissa 2019-08-29 11:07:21 +02:00
Ruben Dashyan
ae21a592a1 [apps/*/expression_model_handle] Remove Symbol static method 2019-08-29 11:07:21 +02:00
Ruben Dashyan
07af06aaad [apps/*/expression_model_store] Remove virtual symbol and unknownSymbol methods 2019-08-29 11:07:21 +02:00
Ruben Dashyan
b665e841ad [apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument 2019-08-29 11:07:21 +02:00
Ruben Dashyan
b1b309c0c4 [apps/*expression_model*] unknownSymbol is replaced in ExpressionModel 2019-08-29 11:07:21 +02:00
Ruben Dashyan
7859308053 [apps/*/expression_model_handle] setContent uses virtual symbol() and unknownSymbol()
ExpressionModelHandle::setContent() does not need to be virtual anymore.
2019-08-29 11:07:21 +02:00
Ruben Dashyan
8b96901c06 [apps/*/expression_model_handle] Define virtual symbol and unknownSymbol methods 2019-08-29 11:07:21 +02:00
Ruben Dashyan
86a3ea51e8 [apps/shared/expression_model] setContent does not need to be virtual 2019-08-29 11:07:21 +02:00
Ruben Dashyan
4396a82452 [apps/*/values*function_parameter_controller] Get the symbol from the FunctionStore 2019-08-29 11:07:21 +02:00
Ruben Dashyan
6d7e833a46 [apps/shared/function_banner_delegate] Factor reloadBannerViewForCursorOnFunction 2019-08-29 11:07:21 +02:00
Léa Saviot
dcb5a061e9 [apps/poincare] Clearer method names 2019-08-27 17:24:57 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Émilie Feral
af31ba6137 [apps/shared] CurveView::computeLabels: fix confusion between size and
length
2019-08-19 17:13:50 +02:00
Émilie Feral
05972099fe [apps/shared] Fix char array initialization 2019-08-16 17:24:04 +02:00
Léa Saviot
1e483d60ce [poincare] Coordinate2D out of the Expression class 2019-08-13 18:00:15 +02:00
Émilie Feral
503e07fe5a [apps/sequence] Fix SequenceStore: sequences are not memoized but all
kept in the store (because we need all of them to evaluate one
sequence). setMemoizedModelAtIndex now store u, v and w sequences in
this order to avoid requiring expiring pointers.
2019-08-13 09:44:00 +02:00
Émilie Feral
8b41e8af73 [apps/shared] SimpleInteractiveCurveViewController does not need to
reload the text from models in textFieldDidAbortEditing. This is handled once for all in
textfield handleEvent
2019-08-13 09:44:00 +02:00
Émilie Feral
a2059432bd [apps/shared] SumGraphController keeps 2 text buffers for its editable
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00