gsl_series Class Reference

#include <gsl_series.h>


Detailed Description

Series acceleration by Levin u-transform (GSL).

Given an array of terms in a sum, this attempts to evaluate the entire sum with an estimate of the error.

Todo:
Covert to use a more general vector

Definition at line 43 of file gsl_series.h.


Public Member Functions

 gsl_series (int size=1)
 size is the number of terms in the series
double series_accel (double *x, double &err)
 Return the accelerated sum of the series with a simple error estimate.
double series_accel_err (double *x, double &err)
 Return the accelerated sum of the series with an accurate error estimate.
int set_size (int new_size)
 Set the number of terms.

The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.