EVSL  1.1.0
EigenValues Slicing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
spslice2.c File Reference

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.


void spslicer2 (double *xi, double *yi, int n_int, int npts, double *sli)

Detailed Description

Spectrum slicing.

Definition in file spslice2.c.

Function Documentation

void spslicer2 ( double *  xi,
double *  yi,
int  n_int,
int  npts,
double *  sli 

Interval partitioner based for Lanczos DOS output

[in]xicoordinates of interval [a b]
[in]yiyi[k] = integral of the does from a to xi[k]
[in]n_intNumber of desired sub-intervals
[in]nptsnumber of integration points (length of xi)
[out]sliArray 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().

Here is the call graph for this function:

Here is the caller graph for this function: