mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
30 lines
691 B
C++
30 lines
691 B
C++
#ifndef SOLVER_EQUATION_h
|
|
#define SOLVER_EQUATION_h
|
|
|
|
#include "../shared/expression_model.h"
|
|
|
|
namespace Solver {
|
|
|
|
class Equation : public Shared::ExpressionModel {
|
|
public:
|
|
Equation();
|
|
~Equation();
|
|
Equation& operator=(const Equation& other);
|
|
Equation& operator=(Equation&& other) = delete;
|
|
Equation(const Equation& other) = delete;
|
|
Equation(Equation&& other) = delete;
|
|
void setContent(const char * c) override;
|
|
void tidy() override;
|
|
bool shouldBeClearedBeforeRemove() override {
|
|
return false;
|
|
}
|
|
Poincare::Expression * standardForm(Poincare::Context * context) const;
|
|
private:
|
|
void tidyStandardForm();
|
|
mutable Poincare::Expression * m_standardForm;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|