#include <gsl_series.h>
array
parameter). Definition at line 45 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. |
double series_accel | ( | double * | x, | |
double & | err | |||
) |
The input vector x
should be an array with size
values from x[0]
to x[size-1]
where /c size is the value given to the constructor or given to the set_size() function.
double series_accel_err | ( | double * | x, | |
double & | err | |||
) |
The input vector x
should be an array with size
values from x[0]
to x[size-1]
where /c size is the value given to the constructor or given to the set_size() function.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page