21 Expression * MatrixTranspose::shallowReduce(
Context& context, AngleUnit angleUnit) {
22 Expression * e = Expression::shallowReduce(context, angleUnit);
27 #if MATRIX_EXACT_REDUCING 29 Matrix * transpose =
static_cast<Matrix *
>(op)->createTranspose();
42 Expression * MatrixTranspose::templatedApproximate(Context& context, AngleUnit angleUnit)
const {
46 result = input->clone();
49 result =
static_cast<Matrix *
>(input)->createTranspose();
Expression * replaceWith(Expression *newOperand, bool deleteAfterReplace=true)
Expression * approximate(Context &context, AngleUnit angleUnit=AngleUnit::Default) const
static bool IsMatrix(const Expression *e, Context &context)
Expression * editableOperand(int i)
Expression * clone() const override
const Expression * m_operands[T]
friend class MatrixTranspose
const Expression * operand(int i) const
Type type() const override