|
limes 3.1.0
Composable Calculus Expressions for C++20
|
#include <unary.hpp>
Public Types | |
| using | value_type = typename E::value_type |
| using | op_type = Op |
| using | child_type = E |
Public Member Functions | |
| constexpr | Unary (E c) noexcept |
| constexpr value_type | eval (std::span< value_type const > args) const |
| constexpr value_type | evaluate (std::span< value_type const > args) const |
| template<std::size_t Dim> | |
| constexpr auto | derivative () const |
| std::string | to_string () const |
Public Attributes | |
| E | child |
Static Public Attributes | |
| static constexpr std::size_t | arity_v = E::arity_v |
| using limes::expr::Unary< Op, E >::child_type = E |
| using limes::expr::Unary< Op, E >::op_type = Op |
| using limes::expr::Unary< Op, E >::value_type = typename E::value_type |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexpr |
Definition at line 48 of file unary.hpp.
References limes::expr::Unary< Op, E >::child.
|
inlineconstexpr |
Definition at line 35 of file unary.hpp.
References limes::expr::Unary< Op, E >::child.
Referenced by limes::expr::Unary< Op, E >::evaluate().
|
inlineconstexpr |
Definition at line 42 of file unary.hpp.
References limes::expr::Unary< Op, E >::eval().
|
inline |
Definition at line 54 of file unary.hpp.
References limes::expr::Unary< Op, E >::child.
|
staticconstexpr |
| E limes::expr::Unary< Op, E >::child |
Definition at line 31 of file unary.hpp.
Referenced by limes::expr::antiderivative_impl< Dim, Unary< Neg, E > >::compute(), limes::expr::Unary< Op, E >::derivative(), limes::expr::Unary< Op, E >::eval(), and limes::expr::Unary< Op, E >::to_string().