5#ifndef OASIS_INTEGRATE_HPP
6#define OASIS_INTEGRATE_HPP
16class Integral<Expression, Expression> :
public BinaryExpression<Integral> {
19 Integral(
const Integral<Expression, Expression>& other) =
default;
21 Integral(
const Expression& integrand,
const Expression& differential);
58template <
typename IntegrandT = Expression,
typename DifferentialT = IntegrandT>
67 Integral(
const IntegrandT& integrand,
const DifferentialT& differential)
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:231
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:220
A binary expression.
Definition BinaryExpression.hpp:83
auto Simplify() const -> std::unique_ptr< Expression >
Simplifies this expression.
Definition Expression.cpp:254
The Integral expression integrates the two expressions together.
Definition Integral.hpp:59
Integral(const Integral< IntegrandT, DifferentialT > &other)
Definition Integral.hpp:62
Integral(const IntegrandT &integrand, const DifferentialT &differential)
Definition Integral.hpp:67
auto operator=(const Integral &other) -> Integral &=default
@ Commutative
Definition Expression.hpp:51
@ Associative
Definition Expression.hpp:50