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