|
limes 3.1.0
Composable Calculus Expressions for C++20
|
#include <binary.hpp>
Public Types | |
| using | value_type = typename L::value_type |
| using | op_type = Op |
| using | left_type = L |
| using | right_type = R |
Public Member Functions | |
| constexpr | Binary (L l, R r) 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 | |
| L | left |
| R | right |
Static Public Attributes | |
| static constexpr std::size_t | arity_v = std::max(L::arity_v, R::arity_v) |
Definition at line 25 of file binary.hpp.
| using limes::expr::Binary< Op, L, R >::left_type = L |
Definition at line 28 of file binary.hpp.
| using limes::expr::Binary< Op, L, R >::op_type = Op |
Definition at line 27 of file binary.hpp.
| using limes::expr::Binary< Op, L, R >::right_type = R |
Definition at line 29 of file binary.hpp.
| using limes::expr::Binary< Op, L, R >::value_type = typename L::value_type |
Definition at line 26 of file binary.hpp.
|
inlineconstexprnoexcept |
Definition at line 36 of file binary.hpp.
|
inlineconstexpr |
Definition at line 61 of file binary.hpp.
References limes::expr::Binary< Op, L, R >::left, and limes::expr::Binary< Op, L, R >::right.
|
inlineconstexpr |
Definition at line 38 of file binary.hpp.
References limes::expr::Binary< Op, L, R >::left, and limes::expr::Binary< Op, L, R >::right.
Referenced by limes::expr::Binary< Op, L, R >::evaluate().
|
inlineconstexpr |
Definition at line 54 of file binary.hpp.
References limes::expr::Binary< Op, L, R >::eval().
|
inline |
Definition at line 78 of file binary.hpp.
References limes::expr::Binary< Op, L, R >::left, and limes::expr::Binary< Op, L, R >::right.
|
staticconstexpr |
Definition at line 31 of file binary.hpp.
| L limes::expr::Binary< Op, L, R >::left |
Definition at line 33 of file binary.hpp.
Referenced by limes::expr::antiderivative_impl< Dim, Binary< Add, L, R > >::compute(), limes::expr::antiderivative_impl< Dim, Binary< Sub, L, R > >::compute(), limes::expr::Binary< Op, L, R >::derivative(), limes::expr::Binary< Op, L, R >::eval(), and limes::expr::Binary< Op, L, R >::to_string().
| R limes::expr::Binary< Op, L, R >::right |
Definition at line 34 of file binary.hpp.
Referenced by limes::expr::antiderivative_impl< Dim, Binary< Add, L, R > >::compute(), limes::expr::antiderivative_impl< Dim, Binary< Sub, L, R > >::compute(), limes::expr::Binary< Op, L, R >::derivative(), limes::expr::Binary< Op, L, R >::eval(), and limes::expr::Binary< Op, L, R >::to_string().