29 Expression * PredictionInterval::shallowReduce(
Context& context, AngleUnit angleUnit) {
30 Expression * e = Expression::shallowReduce(context, angleUnit);
36 #if MATRIX_EXACT_REDUCING 49 if (!r1->denominator().isOne() || r1->numerator().isNegative()) {
58 if (!r1->denominator().isOne() || r1->numerator().isNegative() || r0->numerator().isNegative() ||
Integer::NaturalOrder(r0->numerator(), r0->denominator()) > 0) {
71 return matrix->deepReduce(context, angleUnit);
75 Expression * PredictionInterval::templatedApproximate(Context& context, AngleUnit angleUnit)
const {
81 T p =
static_cast<Complex<T> *
>(pInput)->toScalar();
82 T n =
static_cast<Complex<T> *
>(nInput)->toScalar();
friend class Multiplication
Expression * replaceWith(Expression *newOperand, bool deleteAfterReplace=true)
Expression * approximate(Context &context, AngleUnit angleUnit=AngleUnit::Default) const
const Expression *const * operands() const override
int polynomialDegree(char symbolName) const override
Expression * editableOperand(int i)
Type type() const override
const Expression * m_operands[T]
friend class Multiplication
static int NaturalOrder(const Integer &i, const Integer &j)
static Complex< T > Float(T x)
static Integer Subtraction(const Integer &i, const Integer &j)
void detachOperand(const Expression *e)
friend class PredictionInterval
Expression * clone() const override
static Integer denominator(Integer *exponent)
const Expression * operand(int i) const