The abstract runtime interface for all numerical quadrature rules. More...
#include <numerical_quadrature.hpp>
Public Types | |
typedef InterfaceType::numeric_type | numeric_type |
Public Member Functions | |
virtual numerical_quadrature_interface * | clone () const =0 |
Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object. | |
virtual numeric_type | eval (rt_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &e, rt_variable< InterfaceType > const &var) const =0 |
Evaluates the provided expression using the respective numerical quadrature rule. |
The abstract runtime interface for all numerical quadrature rules.
typedef InterfaceType::numeric_type numeric_type |
Reimplemented in rt_gauss_quad_1< InterfaceType >.
virtual numerical_quadrature_interface* clone | ( | ) | const [pure virtual] |
Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object.
Implemented in rt_gauss_quad_1< InterfaceType >.
virtual numeric_type eval | ( | rt_interval< InterfaceType > const & | interv, | |
rt_expr< InterfaceType > const & | e, | |||
rt_variable< InterfaceType > const & | var | |||
) | const [pure virtual] |
Evaluates the provided expression using the respective numerical quadrature rule.
Implemented in rt_gauss_quad_1< InterfaceType >.