![]() |
Home | Libraries | People | FAQ | More |
boost::numeric::quadrature::rms — N,M Recursive Monotone Stable quadrature.
template<std::size_t N, std::size_t M, typename ErrorEst, typename Recorder, typename Data> class rms { public: // construct/copy/destruct rms(BOOST_QUADRATURE_CONSTRUCTOR_REF_ARG(error_estimator, ErrorEst), BOOST_QUADRATURE_CONSTRUCTOR_REF_ARG(recorder, Recorder)); // public member functions template<typename F, typename DL, typename DU, typename R> quadrature_error operator()(F, DL, DU, R &) const; template<typename ErrorEst_> rms< N, M, ErrorEst_, Recorder, Data > error_estimator(ErrorEst_ &) const; template<typename Recorder_> rms< N, M, ErrorEst, Recorder_, Data > recorder(Recorder_ &) const; template<typename Data_> rms< N, M, ErrorEst, Recorder, Data_ > kernel_data(Data_ &) const; // private member functions BOOST_QUADRATURE_REF_ARG(error_estimator, ErrorEst, unspecified, unspecified) ; };
N,M Recursive Monotone Stable quadrature. N and M are assumed odd, so coefficients become symmetric.
rms is defined for rms<19,13>, rms<27,19> and rms<41,27>.
rms construct/copy/destructrms(BOOST_QUADRATURE_CONSTRUCTOR_REF_ARG(error_estimator, ErrorEst), BOOST_QUADRATURE_CONSTRUCTOR_REF_ARG(recorder, Recorder));
rms public member functionstemplate<typename F, typename DL, typename DU, typename R> quadrature_error operator()(F integrand, DL lower_limit, DU upper_limit, R & result) const;
| Parameters: |
|
||||||||
| Returns: | error code |
template<typename ErrorEst_> rms< N, M, ErrorEst_, Recorder, Data > error_estimator(ErrorEst_ & error_estimator) const;
| Parameters: |
|
||
| Returns: | an rms integrator object, which includes the estimator |
template<typename Recorder_> rms< N, M, ErrorEst, Recorder_, Data > recorder(Recorder_ & recorder) const;
| Parameters: |
|
||
| Returns: | an rms integrator object, which includes the recorder |
template<typename Data_> rms< N, M, ErrorEst, Recorder, Data_ > kernel_data(Data_ & kernel_data) const;
| Parameters: |
|
||
| Returns: | an rms integrator object, which includes the kernel data |
rms private member functionsBOOST_QUADRATURE_REF_ARG(error_estimator, ErrorEst, unspecified, unspecified instance) ;
| Copyright © 2007 Hugo Duncan |