1 #ifndef POINCARE_DIVISION_H 2 #define POINCARE_DIVISION_H 22 bool needParenthesisWithParent(
const Expression * e)
const override;
24 int writeTextInBuffer(
char * buffer,
int bufferSize,
int numberOfSignificantDigits = PrintFloat::k_numberOfStoredSignificantDigits)
const override {
33 template<
typename T>
static Matrix * computeOnComplexAndMatrix(
const Complex<T> *
c,
const Matrix * n);
34 template<
typename T>
static Matrix * computeOnMatrices(
const Matrix * m,
const Matrix * n);
37 return ApproximationEngine::mapReduce<float>(
this, context, angleUnit, compute<float>, computeOnComplexAndMatrix<float>, computeOnMatrixAndComplex<float>, computeOnMatrices<float>);
40 return ApproximationEngine::mapReduce<double>(
this, context, angleUnit, compute<double>, computeOnComplexAndMatrix<double>, computeOnMatrixAndComplex<double>, computeOnMatrices<double>);
static int writeInfixExpressionTextInBuffer(const Expression *expression, char *buffer, int bufferSize, int numberOfDigits, const char *operatorName)
Type type() const override
int polynomialDegree(char symbolName) const override
static Matrix * elementWiseOnComplexAndComplexMatrix(const Complex< T > *c, const Matrix *n, ComplexAndComplexReduction< T > computeOnComplexes)
static Complex< T > compute(const Complex< T > c, const Complex< T > d)
Expression * clone() const override