5#ifndef OASIS_NEGATE_HPP
6#define OASIS_NEGATE_HPP
13template <
typename OperandT = Expression>
22 explicit Negate(
const OperandT& operand)
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:231
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:220
An expression.
Definition Expression.hpp:63
Negate(const OperandT &operand)
Definition Negate.hpp:22
auto Differentiate(const Expression &var) const -> std::unique_ptr< Expression > override
Tries to differentiate this function.
Definition Negate.hpp:27
Negate(const Negate &other)
Definition Negate.hpp:17
Definition UnaryExpression.hpp:14
auto GetOperand() const -> const OperandT &
Definition UnaryExpression.hpp:62
@ UnExp
Definition Expression.hpp:53