OASIS
Open Algebra Software
Loading...
Searching...
No Matches
EulerNumber.hpp
Go to the documentation of this file.
1//
2// Created by Andrew Nazareth on 6/25/24.
3//
4
5#ifndef OASIS_EULERNUMBER_HPP
6#define OASIS_EULERNUMBER_HPP
7
8#include "LeafExpression.hpp"
9
10namespace Oasis {
11
15class EulerNumber : public LeafExpression<EulerNumber> {
16public:
17 EulerNumber() = default;
18 EulerNumber(const EulerNumber& other) = default;
19
20 [[nodiscard]] auto Equals(const Expression& other) const -> bool final;
21
24
25 static auto GetValue() -> double;
26};
27}
28
29#endif // OASIS_EULERNUMBER_HPP
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:192
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:181
An 'EulerNumber' number.
Definition EulerNumber.hpp:15
static auto GetValue() -> double
Definition EulerNumber.cpp:17
auto Equals(const Expression &other) const -> bool final
Compares this expression to another expression for equality.
Definition EulerNumber.cpp:12
EulerNumber()=default
EulerNumber(const EulerNumber &other)=default
An expression.
Definition Expression.hpp:56
A leaf expression.
Definition LeafExpression.hpp:21
Definition Add.hpp:11
@ UnExp
Definition Expression.hpp:46