![]() |
EVSL
1.1.0
EigenValues Slicing Library
|
Spectrum slicing. 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 | spslicer2 (double *xi, double *yi, int n_int, int npts, double *sli) |
Spectrum slicing.
Definition in file spslice2.c.
| void spslicer2 | ( | double * | xi, |
| double * | yi, | ||
| int | n_int, | ||
| int | npts, | ||
| double * | sli | ||
| ) |
Interval partitioner based for Lanczos DOS output
| [in] | xi | coordinates of interval [a b] |
| [in] | yi | yi[k] = integral of the does from a to xi[k] |
| [in] | n_int | Number of desired sub-intervals |
| [in] | npts | number of integration points (length of xi) |
| [out] | sli | Array of length n_int containing the boundaries of the intervals. [sli[i], [sli[i+1]] is the i-th interval with sli[0] = xi[0] and sli[n_int] = xi[npts-1] |
Definition at line 29 of file spslice2.c.
References simpson().
Referenced by main().


1.8.6