mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
21 lines
516 B
C++
21 lines
516 B
C++
#ifndef SEQUENCE_LOCAL_CONTEXT_H
|
|
#define SEQUENCE_LOCAL_CONTEXT_H
|
|
|
|
#include <poincare.h>
|
|
|
|
namespace Sequence {
|
|
|
|
class LocalContext : public Poincare::VariableContext {
|
|
public:
|
|
LocalContext(Poincare::Context * parentContext);
|
|
const Poincare::Expression * expressionForSymbol(const Poincare::Symbol * symbol) override;
|
|
void setSequenceRankValue(float f, int rank);
|
|
private:
|
|
char sequenceIndexForSymbol(const Poincare::Symbol * symbol);
|
|
Poincare::Complex m_nValue;
|
|
Poincare::Complex m_n1Value;
|
|
};
|
|
|
|
}
|
|
|
|
#endif |