mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps/shared] tMin and tMax attributes to CartesianFunction
This commit is contained in:
@@ -128,6 +128,22 @@ double CartesianFunction::approximateDerivative(double x, Poincare::Context * co
|
||||
return PoincareHelpers::ApproximateToScalar<double>(derivative, context);
|
||||
}
|
||||
|
||||
double CartesianFunction::tMin() const {
|
||||
return recordData()->tMin();
|
||||
}
|
||||
|
||||
double CartesianFunction::tMax() const {
|
||||
return recordData()->tMax();
|
||||
}
|
||||
|
||||
void CartesianFunction::setTMin(double tMin) {
|
||||
recordData()->setTMin(tMin);
|
||||
}
|
||||
|
||||
void CartesianFunction::setTMax(double tMax) {
|
||||
recordData()->setTMax(tMax);
|
||||
}
|
||||
|
||||
void * CartesianFunction::Model::expressionAddress(const Ion::Storage::Record * record) const {
|
||||
return (char *)record->value().buffer+sizeof(CartesianFunctionRecordDataBuffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user