ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::sum::levin_utrunc Namespace Reference

The Levin u transform without error estimation. More...

Classes

class  workspace
 Workspace for the Levin u transform without error estimation. More...
 

Functions

template<typename ARRAY >
int accel (ARRAY const &array, workspace &w, double *sum_accel, double *abserr_trunc)
 C++ version of gsl_sum_levin_utrunc_accel(). More...
 

Detailed Description

The Levin u transform without error estimation.

Function Documentation

◆ accel()

template<typename ARRAY >
int gsl::sum::levin_utrunc::accel ( ARRAY const &  array,
workspace w,
double *  sum_accel,
double *  abserr_trunc 
)
inline

C++ version of gsl_sum_levin_utrunc_accel().

This version handles std::vector and gsl::vector.

Parameters
arrayA series of terms
wA workspace of size array_size
sum_accelThe extrapolated sum
abserr_truncAbsolute error
Returns
Error code on failure

Definition at line 536 of file sum.hpp.

References gsl::sf::hermite::array(), and gsl::sum::levin_utrunc::workspace::get().