Public Types | Public Member Functions

numerical_quadrature_interface< InterfaceType > Class Template Reference

The abstract runtime interface for all numerical quadrature rules. More...

#include <numerical_quadrature.hpp>

Inheritance diagram for numerical_quadrature_interface< InterfaceType >:
rt_gauss_quad_1< InterfaceType >

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.

Detailed Description

template<typename InterfaceType>
class viennamath::numerical_quadrature_interface< InterfaceType >

The abstract runtime interface for all numerical quadrature rules.


Member Typedef Documentation

typedef InterfaceType::numeric_type numeric_type

Member Function Documentation

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 >.


The documentation for this class was generated from the following file: