1 #ifndef POINCARE_MULTIPLICATION_H 2 #define POINCARE_MULTIPLICATION_H 36 bool needParenthesisWithParent(
const Expression * e)
const override;
38 int writeTextInBuffer(
char * buffer,
int bufferSize,
int numberOfSignificantDigits = PrintFloat::k_numberOfStoredSignificantDigits)
const override;
42 void mergeMultiplicationOperands();
52 static bool TermHasRationalBase(
const Expression * e);
53 static bool TermHasRationalExponent(
const Expression * e);
64 return ApproximationEngine::mapReduce<float>(
this, context, angleUnit, compute<float>, computeOnComplexAndMatrix<float>, computeOnMatrixAndComplex<float>, computeOnMatrices<float>);
67 return ApproximationEngine::mapReduce<double>(
this, context, angleUnit, compute<double>, computeOnComplexAndMatrix<double>, computeOnMatrixAndComplex<double>, computeOnMatrices<double>);
static Matrix * computeOnMatrices(const Matrix *m, const Matrix *n)
Expression * clone() const override
static Matrix * elementWiseOnComplexAndComplexMatrix(const Complex< T > *c, const Matrix *n, ComplexAndComplexReduction< T > computeOnComplexes)
static Matrix * computeOnComplexAndMatrix(const Complex< T > *c, const Matrix *m)
Type type() const override
static Complex< T > compute(const Complex< T > c, const Complex< T > d)
int polynomialDegree(char symbolName) const override
Sign sign() const override