mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph][apps/sequence] Add comments
This commit is contained in:
committed by
LeaNumworks
parent
d4f6f5a477
commit
a19edb4460
@@ -259,7 +259,7 @@ int ValuesController::absoluteColumnForValuesColumn(int column) {
|
||||
}
|
||||
|
||||
void ValuesController::fillMemoizedBuffer(int column, int row, int index) {
|
||||
double abscissa = intervalAtColumn(column)->element(row-1);
|
||||
double abscissa = intervalAtColumn(column)->element(row-1); // Subtract the title row from row to get the element index
|
||||
bool isDerivative = false;
|
||||
double evaluationX = NAN;
|
||||
double evaluationY = NAN;
|
||||
|
||||
@@ -91,7 +91,7 @@ Shared::Interval * ValuesController::intervalAtColumn(int columnIndex) {
|
||||
|
||||
void ValuesController::fillMemoizedBuffer(int column, int row, int index) {
|
||||
char * buffer = memoizedBufferAtIndex(index);
|
||||
double abscissa = intervalAtColumn(column)->element(row-1);
|
||||
double abscissa = intervalAtColumn(column)->element(row-1); // Subtract the title row from row to get the element index
|
||||
Shared::ExpiringPointer<Sequence> sequence = functionStore()->modelForRecord(recordAtColumn(column));
|
||||
Coordinate2D<double> xy = sequence->evaluateXYAtParameter(abscissa, textFieldDelegateApp()->localContext());
|
||||
Shared::PoincareHelpers::ConvertFloatToText<double>(xy.x2(), buffer, k_valuesCellBufferSize, Preferences::LargeNumberOfSignificantDigits);
|
||||
|
||||
Reference in New Issue
Block a user