![]() |
EVSL
1.1.0
EigenValues Slicing Library
|
Simpson integrater. More...
#include <math.h>#include <stdio.h>#include <stdlib.h>#include "blaslapack.h"#include "def.h"#include "internal_proto.h"#include "string.h"#include "struct.h"Go to the source code of this file.
Functions | |
| void | simpson (double *xi, double *yi, int npts) |
Simpson integrater.
Definition in file simpson.c.
| void simpson | ( | double * | xi, |
| double * | yi, | ||
| int | npts | ||
| ) |
This function computes the integrals from xi[0] to xi[j] for j=0:npts-1
| [in] | xi | npts equally space points |
| [in] | yi | values of a function f at the xi |
| [in] | npts | number of sample points |
In-place version.
Definition at line 27 of file simpson.c.
Referenced by LanDos(), LanDosG(), and spslicer2().

1.8.6