EVSL
1.1.0
EigenValues Slicing Library
|
#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) |
int exDOS | ( | double * | vals, |
int | n, | ||
int | npts, | ||
double * | x, | ||
double * | y, | ||
double * | intv | ||
) |
Calculate the exact DOS given eigenvalues
[in] | vals | eigenvalues |
[in] | n | number of eigenvalues |
[in] | npts | number of points for dos curve |
[in] | intv | intervals of interests |
[out] | x | coordinates for dos plot |
[out] | y | y coordinates for dos plot |
Definition at line 22 of file exDOS.c.
References DSCAL(), linspace(), max, min, and PI.
Referenced by main().