A unary operation defining an integral over an interval. More...
#include <integral.hpp>
Public Types | |
typedef InterfaceType | interface_type |
Public Member Functions | |
op_rt_integral () | |
op_rt_integral (viennamath::rt_interval< InterfaceType > const &interv, viennamath::rt_variable< InterfaceType > const &var) | |
Creates the integral operation. | |
template<id_type id> | |
op_rt_integral (viennamath::rt_interval< InterfaceType > const &interv, viennamath::ct_variable< id > const &var) | |
Creates the integral operation. | |
std::string | str () const |
Returns a string representation of the integral operation. | |
NumericT | apply (NumericT value) const |
Interface requirement: Applies the integral operation. No symbolic integration at runtime available, thus an exception is thrown. | |
bool | can_simplify () const |
Interface requirement: A integral operation cannot be optimized (at least for now). | |
viennamath::rt_interval < InterfaceType > const & | interval () const |
viennamath::rt_variable < InterfaceType > const & | variable () const |
A unary operation defining an integral over an interval.
typedef InterfaceType interface_type |
op_rt_integral | ( | ) | [inline] |
op_rt_integral | ( | viennamath::rt_interval< InterfaceType > const & | interv, | |
viennamath::rt_variable< InterfaceType > const & | var | |||
) | [inline] |
Creates the integral operation.
interv | A runtime interval | |
var | The integration variable (runtime) |
op_rt_integral | ( | viennamath::rt_interval< InterfaceType > const & | interv, | |
viennamath::ct_variable< id > const & | var | |||
) | [inline] |
Creates the integral operation.
interv | A runtime interval | |
var | The integration variable (compiletime) |
NumericT apply | ( | NumericT | value | ) | const [inline] |
Interface requirement: Applies the integral operation. No symbolic integration at runtime available, thus an exception is thrown.
bool can_simplify | ( | ) | const [inline] |
Interface requirement: A integral operation cannot be optimized (at least for now).
viennamath::rt_interval<InterfaceType> const& interval | ( | ) | const [inline] |
std::string str | ( | ) | const [inline] |
Returns a string representation of the integral operation.
viennamath::rt_variable<InterfaceType> const& variable | ( | ) | const [inline] |