#include #include extern "C" { #include } #include namespace Poincare { ComplexArgument::ComplexArgument() : Function("arg") { } Expression::Type ComplexArgument::type() const { return Type::ComplexArgument; } Expression * ComplexArgument::cloneWithDifferentOperands(Expression** newOperands, int numberOfOperands, bool cloneOperands) const { assert(newOperands != nullptr); ComplexArgument * ca = new ComplexArgument(); ca->setArgument(newOperands, numberOfOperands, cloneOperands); return ca; } template Complex ComplexArgument::templatedComputeComplex(const Complex c) const { return Complex::Float(c.th()); } }