Gauss quadrature rule with first-order accuracy. More...
#include <numerical_quadrature.hpp>
Public Types | |
enum | { id = 1 } |
typedef BaseType::numeric_type | numeric_type |
Public Member Functions | |
BaseType * | clone () const |
Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object. | |
numeric_type | eval (rt_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &e, rt_variable< InterfaceType > const &var) const |
Evaluates the provided expression using the respective numerical quadrature rule. |
Gauss quadrature rule with first-order accuracy.
typedef BaseType::numeric_type numeric_type |
Reimplemented from numerical_quadrature_interface< InterfaceType >.
BaseType* clone | ( | ) | const [inline, virtual] |
Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object.
Implements numerical_quadrature_interface< InterfaceType >.
numeric_type eval | ( | rt_interval< InterfaceType > const & | interv, | |
rt_expr< InterfaceType > const & | e, | |||
rt_variable< InterfaceType > const & | var | |||
) | const [inline, virtual] |
Evaluates the provided expression using the respective numerical quadrature rule.
Implements numerical_quadrature_interface< InterfaceType >.