mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[poincare] Clean: remove complexCartesian and complexPolar methods
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
#include <poincare/addition.h>
|
||||
#include <poincare/arc_tangent.h>
|
||||
#include <poincare/complex_cartesian.h>
|
||||
#include <poincare/complex_helper.h>
|
||||
#include <poincare/complex_polar.h>
|
||||
#include <poincare/division.h>
|
||||
#include <poincare/power.h>
|
||||
#include <poincare/rational.h>
|
||||
@@ -74,14 +72,6 @@ float ExpressionNode::characteristicXRange(Context & context, Preferences::Angle
|
||||
return range;
|
||||
}
|
||||
|
||||
ComplexCartesian ExpressionNode::complexCartesian(Context & context, Preferences::AngleUnit angleUnit) const {
|
||||
return ComplexCartesian();
|
||||
}
|
||||
|
||||
ComplexPolar ExpressionNode::complexPolar(Context & context, Preferences::AngleUnit angleUnit) const {
|
||||
return ComplexHelper::complexPolarFromComplexCartesian(this, context, angleUnit);
|
||||
}
|
||||
|
||||
int ExpressionNode::SimplificationOrder(const ExpressionNode * e1, const ExpressionNode * e2, bool canBeInterrupted) {
|
||||
if (e1->type() > e2->type()) {
|
||||
if (canBeInterrupted && Expression::shouldStopProcessing()) {
|
||||
|
||||
Reference in New Issue
Block a user