EVSL  1.1.0
EigenValues Slicing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
exDOS.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "blaslapack.h"
#include "def.h"
#include "string.h"

Go to the source code of this file.

Functions

void linspace (double a, double b, int num, double *arr)
 
int exDOS (double *vals, int n, int npts, double *x, double *y, double *intv)
 

Function Documentation

int exDOS ( double *  vals,
int  n,
int  npts,
double *  x,
double *  y,
double *  intv 
)

Calculate the exact DOS given eigenvalues

Parameters
[in]valseigenvalues
[in]nnumber of eigenvalues
[in]nptsnumber of points for dos curve
[in]intvintervals of interests
[out]xcoordinates for dos plot
[out]yy coordinates for dos plot
Note
Both x and y are expected to be preallocated.

Definition at line 22 of file exDOS.c.

References DSCAL(), linspace(), max, min, and PI.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void linspace ( double  a,
double  b,
int  num,
double *  arr 
)

Definition at line 54 of file vect.c.

Referenced by exDOS(), LanDos(), LanDosG(), lsPol(), main(), and spslicer().

Here is the caller graph for this function: