61 virtual void print(std::ostream &str,
int precedence = 99)
const;
77 template <
class T>
inline
84 template <
class T>
inline
90 template <
class T>
inline
95 template <
class T>
inline
101 template <
class T>
inline
104 T result = (*fun.function)();
114 if(result ==
T(0))
return result;
123 template <
class T>
inline
129 template <
class T>
inline
131 stream << fun.name <<
"()";
py::list function(PolynomialPatch *patch, py::list point)
Representation objects and parsers for attribute expressions.
A scalar expression without operands.
virtual T evaluate() const
Evaluate.
const TFunction0< T > & fun
virtual Scalar< T > * clone() const
Make clone.
virtual void print(std::ostream &str, int precedence=99) const
Print expression.
void operator=(const SNull &)
static Scalar< T > * make(const TFunction0< T > &function)
Make expression.
An operand-less function returning a T.