34 int size()
const {
return m_size; }
(Internal) class to aide in the resolution of the dependencies of expression trees.
Array(const Expression &top, const int &size, const Expression &address=0)
complex_t operator()() const override
Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debug...
void resolve(ASTResolver &resolver) const override
Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters,...
std::string to_string(const ASTResolver *resolver=nullptr) const override
Called to convert the Expression tree into source code.
Expression operator[](const Expression &address) const
Wrapper class for shared_ptrs to virtual expressions for use in conjunction with operators to build e...
Virtual base class for other expression tree components.
std::complex< real_t > complex_t