ContextSV 0.0.1
Integrative SV calling.
All Classes Files Functions Variables Typedefs Macros
kc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FILE * fh_stdout ()
 
FILE * fh_stderr ()
 
FILE * fh_stdin ()
 
void print_vectori (int *array, int n)
 
void print_vector (double *array, int n)
 
void print_matrixi (int **A, int m, int n)
 
void print_matrix (double **A, int m, int n)
 
double ** matrix_new (int row, int col)
 
int ** matrixi_new (int row, int col)
 
char ** matrixc_new (int row, int col)
 
int ** matrix_toMatrixi (double **A, int m, int n)
 
double ** matrixi_toMatrix (int **A, int m, int n)
 
double * vector_new (int n)
 
int * vectori_new (int n)
 
void matrix_free (double **m)
 
void matrixi_free (int **m)
 
void vector_free (double *m)
 
void vectori_free (int *m)
 
double matrix_at (double **A, int m, int n)
 
int matrixi_at (int **A, int m, int n)
 
double vector_at (double *A, int n)
 
int vectori_at (int *A, int n)
 
double * matrix_row (double **A, int m)
 
int * matrixi_row (int **A, int m)
 
void matrix_change (double **A, int m, int n, double a)
 
void matrixi_change (int **A, int m, int n, int a)
 
void vector_change (double *A, int n, double a)
 
void vectori_change (int *A, int n, int a)
 
int * vector_toVectori (double *A, int n)
 
double * vectori_toVector (int *A, int n)
 
void nrerror (char *error_text)
 
int * ivector (long nl, long nh)
 
unsigned char * cvector (long nl, long nh)
 
double * dvector (long nl, long nh)
 
double ** dmatrix (long nrl, long nrh, long ncl, long nch)
 
int ** imatrix (long nrl, long nrh, long ncl, long nch)
 
double ** submatrix (double **a, long oldrl, long oldrh, long oldcl, long oldch, long newrl, long newcl)
 
double ** convert_matrix (double *a, long nrl, long nrh, long ncl, long nch)
 
void free_ivector (int *v, long nl, long nh)
 
void free_cvector (unsigned char *v, long nl, long nh)
 
void free_dvector (double *v, long nl, long nh)
 
void free_dmatrix (double **m, long nrl, long nrh, long ncl, long nch)
 
void free_imatrix (int **m, long nrl, long nrh, long ncl, long nch)
 
void free_subdmatrix (double **b, long nrl, long nrh, long ncl, long nch)
 
double ** matrix_copy (double **A, int m, int n)
 
int ** matrixi_copy (int **A, int m, int n)
 
double ** matrix_transpose (double **A, int m, int n)
 
int ** matrixi_transpose (int **A, int m, int n)
 
double ** matrix_newSeq (int m, int n)
 
int ** matrixi_newSeq (int m, int n)
 
double ** matrix_newRandom (int m, int n, int seed)
 
double ** matrix_newDiagonal (double *cell, int length, int m, int n)
 
double ** matrix_newIdentity (int m)
 
double ** matrix_newSubrow (double **A, int m, int n, int r1, int r2)
 
double ** matrix_newSubcol (double **A, int m, int n, int c1, int c2)
 
double ** matrix_newSubmat (double **A, int m, int n, int r1, int r2, int c1, int c2)
 
double ** matrix_delRow (double **A, int m, int n, int row)
 
double ** matrix_delCol (double **A, int m, int n, int col)
 
double ** matrix_cat (double **A, double **B, int m1, int m2, int n)
 
double ** matrix_paste (double **A, double **B, int m, int n1, int n2)
 
void matrix_zero (double **A, int m, int n)
 
void matrix_multiply (double **A, int m, int n, double scale)
 
double ** matrix_product (double **A, double **B, int m, int n, int o)
 
double ** matrix_product3 (double **A, double **B, double **C, int m, int n, int o, int p)
 
void matrix_add (double **A, int m, int n, double a)
 
void matrix_sum (double **A, double **B, int m, int n)
 
void matrix_subtract (double **A, double **B, int m, int n)
 
void matrix_stdRow (double **A, int m, int n)
 
void matrix_stdCol (double **A, int m, int n)
 
double * matrix_rowMean (double **A, int m, int n)
 
double * matrix_colMean (double **A, int m, int n)
 
double * matrix_rowVar (double **A, int m, int n)
 
double * matrix_colVar (double **A, int m, int n)
 
void matrix_sortByVector (double **A, int m, int n, double *v)
 
void vector_zero (double *A, int n)
 
double * vector_copy (double *A, int n)
 
int * vectori_copy (int *A, int n)
 
double vector_innerProduct (double *A, double *B, int n)
 
double ** vector_outerProduct (double *A, double *B, int n)
 
void vector_normalize (double *A, int n)
 
double ** vector_toMatrix (double *A, int n)
 
double * matrix_toVector (double **A, int n)
 
double ** matrix_corMatrix (double **A, int m, int n)
 
double ** matrix_covMatrix (double **A, int m, int n)
 
void matrix_solve (double **a, int n, double **b, int m)
 
void matrix_ludecomp (double **a, int n, int *indx, double *d)
 
void matrix_lusubst (double **a, int n, int *indx, double *b)
 
void matrix_inverse (double **a, int n)
 
double matrix_det (double **a, int n)
 
void matrix_ludecomp2 (const int n, double **a, int *p)
 
void matrix_lusubst2 (const int n, double **a, int *p, double *b)
 
void matrix_inverse2 (double **a, int n)
 
void matrix_tridiag (const int n, double *a, double *d, double *c, double *b)
 
double pythag (double a, double b)
 
void matrix_svd (double **a, int m, int n, double *w, double **v)
 
void matrix_svd2 (double *W, double *Z, int nRow, int nCol)
 
void matrix_eigen (double **a, int n, double *d, double **v, int *nrot)
 
double ** matrix_pcaCor (double **A, int m, int n, double *eval)
 
double ** matrix_pcaCov (double **A, int m, int n, double *eval)
 
double ** matrix_pcaScore (double **A, int m, int n, double **evec, int k)
 
double * matrix_pcaComVar (double **A, int m, int n, double **evec)
 
double ** matrix_reg (double **X, int m, int n, double **Y)
 
double matrix_regMSE (double **X, int m, int n, double **Y, double **B)
 
double * matrix_regModelStat (double **X, int m, int n, double **Y, double **B)
 
double ** matrix_regCoefStat (double **X, int m, int n, double **Y, double **B)
 
double ** matrix_regObsStat (double **X, int m, int n, double **Y, double **B)
 
void test1 ()
 
double cdf_binomial (int n, int k, double p)
 
double cdf_chi2 (double df, double x)
 
double cdf_poisson (int k, double x)
 
double cdf_poisson_inc (int k, double x)
 
double cdf_normal (double x, double mu, double sigma)
 
double cdf_stdnormal (double x)
 
double cdf_f (double df1, double df2, double x)
 
double cdf_t (double df, double x)
 
double cdfinv_t (double df, double p)
 
double pdf_stdnormal (double x)
 
double pdf_normal (double x, double mu, double sigma)
 
double pdf_binomial (int n, int k, double p)
 
double pdf_beta (double a, double b, double x)
 
double pdf_poisson (int k, double x)
 
double pdf_geometric (int k, double p)
 
double pdf_hypergeometric (int a, int b, int c, int d)
 
double bico (int n, int k)
 
double lnbico (int n, int k)
 
double invnormal (double x)
 
void reg_linear (double *x, double *y, int ndata, double *a, double *b, double *F, double *P)
 
double mean (double *data, int n)
 
double mean2 (double *data, int n)
 
void avevar (double *data, int n, double *ave, double *var)
 
void avevar2 (double *data, int n, double *ave, double *var)
 
void averms (double *data, int n, double *ave, double *rms)
 
void moment (double *data, int n, double *ave, double *adev, double *sdev, double *var, double *skew, double *curt)
 
double cc (double *x, double *y, int n)
 
double cov (double *x, double *y, int n)
 
double bitest (int n, int k, double proportion)
 
void ttest_onesample (double *data, long n, double expected, double *t, double *p)
 
void ttest_ev (double *data1, long n1, double *data2, long n2, double *t, double *p)
 
void ttest_uev (double *data1, long n1, double *data2, long n2, double *t, double *p)
 
void ftest (double *data1, long n1, double *data2, long n2, double *f, double *p)
 
void chi2test (double *bins1, double *bins2, int nbins, int knstrn, double *df, double *chi2, double *p)
 
void chi2test_onesample (double *bins, double *ebins, int nbins, int knstrn, double *df, double *chi2, double *p)
 
void chi2test_trend_2by3table (double *bins, double *chi2, double *p)
 
void chi2test_trend_3by2table (double *bins, double *chi2, double *p)
 
void chi2test_2by2table (double *bins, double *chi2, double *p)
 
void chi2test_3by2table (double *bins, double *chi2, double *p)
 
void chi2test_2by3table (double *bins, double *chi2, double *p)
 
void kstest (double *data1, long n1, double *data2, long n2, double *d, double *prob)
 
void kstest_onesample (double *data, long n, double(*func)(double), double *d, double *prob)
 
double probks (double alam)
 
double fisher_exact_1sided (int a, int b, int c, int d)
 
double fisher_exact_2sided (int a, int b, int c, int d)
 
void quick_sort (int elements, double *arr)
 
double gammln (double x)
 
double lnfactorial (double x)
 
int factorial (int x)
 
double gammp (double a, double x)
 
double gammq (double a, double x)
 
void gser (double *gamser, double a, double x, double *gln)
 
void gcf (double *gammcf, double a, double x, double *gln)
 
double beta (double z, double w)
 
double betai (double a, double b, double x)
 
double betacf (double a, double b, double x)
 
double inverff (double x)
 
double errorf (double x)
 
double ran ()
 
double ran3 (int *idum)
 
double random_exp (double lamda, int *idum)
 
double random_stdnormal (int *idum)
 
double SNPHWE (int obs_hets, int obs_hom1, int obs_hom2)
 

Function Documentation

◆ averms()

void averms ( double *  data,
int  n,
double *  ave,
double *  rms 
)

◆ avevar()

void avevar ( double *  data,
int  n,
double *  ave,
double *  var 
)
Here is the caller graph for this function:

◆ avevar2()

void avevar2 ( double *  data,
int  n,
double *  ave,
double *  var 
)

◆ beta()

double beta ( double  z,
double  w 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ betacf()

double betacf ( double  a,
double  b,
double  x 
)
Here is the caller graph for this function:

◆ betai()

double betai ( double  a,
double  b,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bico()

double bico ( int  n,
int  k 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bitest()

double bitest ( int  n,
int  k,
double  proportion 
)
Here is the call graph for this function:

◆ cc()

double cc ( double *  x,
double *  y,
int  n 
)

◆ cdf_binomial()

double cdf_binomial ( int  n,
int  k,
double  p 
)
Here is the call graph for this function:

◆ cdf_chi2()

double cdf_chi2 ( double  df,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdf_f()

double cdf_f ( double  df1,
double  df2,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdf_normal()

double cdf_normal ( double  x,
double  mu,
double  sigma 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdf_poisson()

double cdf_poisson ( int  k,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdf_poisson_inc()

double cdf_poisson_inc ( int  k,
double  x 
)
Here is the call graph for this function:

◆ cdf_stdnormal()

double cdf_stdnormal ( double  x)
Here is the call graph for this function:

◆ cdf_t()

double cdf_t ( double  df,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cdfinv_t()

double cdfinv_t ( double  df,
double  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chi2test()

void chi2test ( double *  bins1,
double *  bins2,
int  nbins,
int  knstrn,
double *  df,
double *  chi2,
double *  p 
)
Here is the call graph for this function:

◆ chi2test_2by2table()

void chi2test_2by2table ( double *  bins,
double *  chi2,
double *  p 
)
Here is the call graph for this function:

◆ chi2test_2by3table()

void chi2test_2by3table ( double *  bins,
double *  chi2,
double *  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chi2test_3by2table()

void chi2test_3by2table ( double *  bins,
double *  chi2,
double *  p 
)
Here is the call graph for this function:

◆ chi2test_onesample()

void chi2test_onesample ( double *  bins,
double *  ebins,
int  nbins,
int  knstrn,
double *  df,
double *  chi2,
double *  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chi2test_trend_2by3table()

void chi2test_trend_2by3table ( double *  bins,
double *  chi2,
double *  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chi2test_trend_3by2table()

void chi2test_trend_3by2table ( double *  bins,
double *  chi2,
double *  p 
)
Here is the call graph for this function:

◆ convert_matrix()

double ** convert_matrix ( double *  a,
long  nrl,
long  nrh,
long  ncl,
long  nch 
)

◆ cov()

double cov ( double *  x,
double *  y,
int  n 
)
Here is the caller graph for this function:

◆ cvector()

unsigned char * cvector ( long  nl,
long  nh 
)

◆ dmatrix()

double ** dmatrix ( long  nrl,
long  nrh,
long  ncl,
long  nch 
)
Here is the caller graph for this function:

◆ dvector()

double * dvector ( long  nl,
long  nh 
)
Here is the caller graph for this function:

◆ errorf()

double errorf ( double  x)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ factorial()

int factorial ( int  x)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fh_stderr()

FILE * fh_stderr ( )

◆ fh_stdin()

FILE * fh_stdin ( )

◆ fh_stdout()

FILE * fh_stdout ( )

◆ fisher_exact_1sided()

double fisher_exact_1sided ( int  a,
int  b,
int  c,
int  d 
)
Here is the call graph for this function:

◆ fisher_exact_2sided()

double fisher_exact_2sided ( int  a,
int  b,
int  c,
int  d 
)
Here is the call graph for this function:

◆ free_cvector()

void free_cvector ( unsigned char *  v,
long  nl,
long  nh 
)

◆ free_dmatrix()

void free_dmatrix ( double **  m,
long  nrl,
long  nrh,
long  ncl,
long  nch 
)
Here is the caller graph for this function:

◆ free_dvector()

void free_dvector ( double *  v,
long  nl,
long  nh 
)
Here is the caller graph for this function:

◆ free_imatrix()

void free_imatrix ( int **  m,
long  nrl,
long  nrh,
long  ncl,
long  nch 
)
Here is the caller graph for this function:

◆ free_ivector()

void free_ivector ( int *  v,
long  nl,
long  nh 
)

◆ free_subdmatrix()

void free_subdmatrix ( double **  b,
long  nrl,
long  nrh,
long  ncl,
long  nch 
)

◆ ftest()

void ftest ( double *  data1,
long  n1,
double *  data2,
long  n2,
double *  f,
double *  p 
)
Here is the call graph for this function:

◆ gammln()

double gammln ( double  x)
Here is the caller graph for this function:

◆ gammp()

double gammp ( double  a,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gammq()

double gammq ( double  a,
double  x 
)
Here is the call graph for this function:

◆ gcf()

void gcf ( double *  gammcf,
double  a,
double  x,
double *  gln 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gser()

void gser ( double *  gamser,
double  a,
double  x,
double *  gln 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ imatrix()

int ** imatrix ( long  nrl,
long  nrh,
long  ncl,
long  nch 
)
Here is the caller graph for this function:

◆ inverff()

double inverff ( double  x)
Here is the caller graph for this function:

◆ invnormal()

double invnormal ( double  x)
Here is the call graph for this function:

◆ ivector()

int * ivector ( long  nl,
long  nh 
)

◆ kstest()

void kstest ( double *  data1,
long  n1,
double *  data2,
long  n2,
double *  d,
double *  prob 
)
Here is the call graph for this function:

◆ kstest_onesample()

void kstest_onesample ( double *  data,
long  n,
double(*)(double)  func,
double *  d,
double *  prob 
)
Here is the call graph for this function:

◆ lnbico()

double lnbico ( int  n,
int  k 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lnfactorial()

double lnfactorial ( double  x)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_add()

void matrix_add ( double **  A,
int  m,
int  n,
double  a 
)

◆ matrix_at()

double matrix_at ( double **  A,
int  m,
int  n 
)

◆ matrix_cat()

double ** matrix_cat ( double **  A,
double **  B,
int  m1,
int  m2,
int  n 
)
Here is the call graph for this function:

◆ matrix_change()

void matrix_change ( double **  A,
int  m,
int  n,
double  a 
)

◆ matrix_colMean()

double * matrix_colMean ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_colVar()

double * matrix_colVar ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_copy()

double ** matrix_copy ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_corMatrix()

double ** matrix_corMatrix ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_covMatrix()

double ** matrix_covMatrix ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_delCol()

double ** matrix_delCol ( double **  A,
int  m,
int  n,
int  col 
)
Here is the call graph for this function:

◆ matrix_delRow()

double ** matrix_delRow ( double **  A,
int  m,
int  n,
int  row 
)
Here is the call graph for this function:

◆ matrix_det()

double matrix_det ( double **  a,
int  n 
)
Here is the call graph for this function:

◆ matrix_eigen()

void matrix_eigen ( double **  a,
int  n,
double *  d,
double **  v,
int *  nrot 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_free()

void matrix_free ( double **  m)
Here is the caller graph for this function:

◆ matrix_inverse()

void matrix_inverse ( double **  a,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_inverse2()

void matrix_inverse2 ( double **  a,
int  n 
)
Here is the call graph for this function:

◆ matrix_ludecomp()

void matrix_ludecomp ( double **  a,
int  n,
int *  indx,
double *  d 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_ludecomp2()

void matrix_ludecomp2 ( const int  n,
double **  a,
int *  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_lusubst()

void matrix_lusubst ( double **  a,
int  n,
int *  indx,
double *  b 
)
Here is the caller graph for this function:

◆ matrix_lusubst2()

void matrix_lusubst2 ( const int  n,
double **  a,
int *  p,
double *  b 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_multiply()

void matrix_multiply ( double **  A,
int  m,
int  n,
double  scale 
)
Here is the caller graph for this function:

◆ matrix_new()

double ** matrix_new ( int  row,
int  col 
)
Here is the caller graph for this function:

◆ matrix_newDiagonal()

double ** matrix_newDiagonal ( double *  cell,
int  length,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrix_newIdentity()

double ** matrix_newIdentity ( int  m)
Here is the call graph for this function:

◆ matrix_newRandom()

double ** matrix_newRandom ( int  m,
int  n,
int  seed 
)
Here is the call graph for this function:

◆ matrix_newSeq()

double ** matrix_newSeq ( int  m,
int  n 
)
Here is the call graph for this function:

◆ matrix_newSubcol()

double ** matrix_newSubcol ( double **  A,
int  m,
int  n,
int  c1,
int  c2 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_newSubmat()

double ** matrix_newSubmat ( double **  A,
int  m,
int  n,
int  r1,
int  r2,
int  c1,
int  c2 
)
Here is the call graph for this function:

◆ matrix_newSubrow()

double ** matrix_newSubrow ( double **  A,
int  m,
int  n,
int  r1,
int  r2 
)
Here is the call graph for this function:

◆ matrix_paste()

double ** matrix_paste ( double **  A,
double **  B,
int  m,
int  n1,
int  n2 
)
Here is the call graph for this function:

◆ matrix_pcaComVar()

double * matrix_pcaComVar ( double **  A,
int  m,
int  n,
double **  evec 
)
Here is the call graph for this function:

◆ matrix_pcaCor()

double ** matrix_pcaCor ( double **  A,
int  m,
int  n,
double *  eval 
)
Here is the call graph for this function:

◆ matrix_pcaCov()

double ** matrix_pcaCov ( double **  A,
int  m,
int  n,
double *  eval 
)
Here is the call graph for this function:

◆ matrix_pcaScore()

double ** matrix_pcaScore ( double **  A,
int  m,
int  n,
double **  evec,
int  k 
)
Here is the call graph for this function:

◆ matrix_product()

double ** matrix_product ( double **  A,
double **  B,
int  m,
int  n,
int  o 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_product3()

double ** matrix_product3 ( double **  A,
double **  B,
double **  C,
int  m,
int  n,
int  o,
int  p 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_reg()

double ** matrix_reg ( double **  X,
int  m,
int  n,
double **  Y 
)
Here is the call graph for this function:

◆ matrix_regCoefStat()

double ** matrix_regCoefStat ( double **  X,
int  m,
int  n,
double **  Y,
double **  B 
)
Here is the call graph for this function:

◆ matrix_regModelStat()

double * matrix_regModelStat ( double **  X,
int  m,
int  n,
double **  Y,
double **  B 
)
Here is the call graph for this function:

◆ matrix_regMSE()

double matrix_regMSE ( double **  X,
int  m,
int  n,
double **  Y,
double **  B 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_regObsStat()

double ** matrix_regObsStat ( double **  X,
int  m,
int  n,
double **  Y,
double **  B 
)
Here is the call graph for this function:

◆ matrix_row()

double * matrix_row ( double **  A,
int  m 
)
Here is the caller graph for this function:

◆ matrix_rowMean()

double * matrix_rowMean ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrix_rowVar()

double * matrix_rowVar ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrix_solve()

void matrix_solve ( double **  a,
int  n,
double **  b,
int  m 
)
Here is the call graph for this function:

◆ matrix_sortByVector()

void matrix_sortByVector ( double **  A,
int  m,
int  n,
double *  v 
)
Here is the caller graph for this function:

◆ matrix_stdCol()

void matrix_stdCol ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_stdRow()

void matrix_stdRow ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_subtract()

void matrix_subtract ( double **  A,
double **  B,
int  m,
int  n 
)

◆ matrix_sum()

void matrix_sum ( double **  A,
double **  B,
int  m,
int  n 
)

◆ matrix_svd()

void matrix_svd ( double **  a,
int  m,
int  n,
double *  w,
double **  v 
)
Here is the call graph for this function:

◆ matrix_svd2()

void matrix_svd2 ( double *  W,
double *  Z,
int  nRow,
int  nCol 
)

◆ matrix_toMatrixi()

int ** matrix_toMatrixi ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrix_toVector()

double * matrix_toVector ( double **  A,
int  n 
)
Here is the call graph for this function:

◆ matrix_transpose()

double ** matrix_transpose ( double **  A,
int  m,
int  n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matrix_tridiag()

void matrix_tridiag ( const int  n,
double *  a,
double *  d,
double *  c,
double *  b 
)
Here is the call graph for this function:

◆ matrix_zero()

void matrix_zero ( double **  A,
int  m,
int  n 
)
Here is the caller graph for this function:

◆ matrixc_new()

char ** matrixc_new ( int  row,
int  col 
)

◆ matrixi_at()

int matrixi_at ( int **  A,
int  m,
int  n 
)

◆ matrixi_change()

void matrixi_change ( int **  A,
int  m,
int  n,
int  a 
)

◆ matrixi_copy()

int ** matrixi_copy ( int **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrixi_free()

void matrixi_free ( int **  m)

◆ matrixi_new()

int ** matrixi_new ( int  row,
int  col 
)
Here is the caller graph for this function:

◆ matrixi_newSeq()

int ** matrixi_newSeq ( int  m,
int  n 
)
Here is the call graph for this function:

◆ matrixi_row()

int * matrixi_row ( int **  A,
int  m 
)

◆ matrixi_toMatrix()

double ** matrixi_toMatrix ( int **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ matrixi_transpose()

int ** matrixi_transpose ( int **  A,
int  m,
int  n 
)
Here is the call graph for this function:

◆ mean()

double mean ( double *  data,
int  n 
)
Here is the caller graph for this function:

◆ mean2()

double mean2 ( double *  data,
int  n 
)

◆ moment()

void moment ( double *  data,
int  n,
double *  ave,
double *  adev,
double *  sdev,
double *  var,
double *  skew,
double *  curt 
)

◆ nrerror()

void nrerror ( char *  error_text)

◆ pdf_beta()

double pdf_beta ( double  a,
double  b,
double  x 
)
Here is the call graph for this function:

◆ pdf_binomial()

double pdf_binomial ( int  n,
int  k,
double  p 
)
Here is the call graph for this function:

◆ pdf_geometric()

double pdf_geometric ( int  k,
double  p 
)

◆ pdf_hypergeometric()

double pdf_hypergeometric ( int  a,
int  b,
int  c,
int  d 
)
Here is the call graph for this function:

◆ pdf_normal()

double pdf_normal ( double  x,
double  mu,
double  sigma 
)
Here is the caller graph for this function:

◆ pdf_poisson()

double pdf_poisson ( int  k,
double  x 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pdf_stdnormal()

double pdf_stdnormal ( double  x)

◆ print_matrix()

void print_matrix ( double **  A,
int  m,
int  n 
)

◆ print_matrixi()

void print_matrixi ( int **  A,
int  m,
int  n 
)

◆ print_vector()

void print_vector ( double *  array,
int  n 
)

◆ print_vectori()

void print_vectori ( int *  array,
int  n 
)

◆ probks()

double probks ( double  alam)
Here is the caller graph for this function:

◆ pythag()

double pythag ( double  a,
double  b 
)
Here is the caller graph for this function:

◆ quick_sort()

void quick_sort ( int  elements,
double *  arr 
)
Here is the caller graph for this function:

◆ ran()

double ran ( )
Here is the caller graph for this function:

◆ ran3()

double ran3 ( int *  idum)
Here is the caller graph for this function:

◆ random_exp()

double random_exp ( double  lamda,
int *  idum 
)
Here is the call graph for this function:

◆ random_stdnormal()

double random_stdnormal ( int *  idum)
Here is the call graph for this function:

◆ reg_linear()

void reg_linear ( double *  x,
double *  y,
int  ndata,
double *  a,
double *  b,
double *  F,
double *  P 
)
Here is the call graph for this function:

◆ SNPHWE()

double SNPHWE ( int  obs_hets,
int  obs_hom1,
int  obs_hom2 
)

◆ submatrix()

double ** submatrix ( double **  a,
long  oldrl,
long  oldrh,
long  oldcl,
long  oldch,
long  newrl,
long  newcl 
)

◆ test1()

void test1 ( )

◆ ttest_ev()

void ttest_ev ( double *  data1,
long  n1,
double *  data2,
long  n2,
double *  t,
double *  p 
)
Here is the call graph for this function:

◆ ttest_onesample()

void ttest_onesample ( double *  data,
long  n,
double  expected,
double *  t,
double *  p 
)
Here is the call graph for this function:

◆ ttest_uev()

void ttest_uev ( double *  data1,
long  n1,
double *  data2,
long  n2,
double *  t,
double *  p 
)
Here is the call graph for this function:

◆ vector_at()

double vector_at ( double *  A,
int  n 
)

◆ vector_change()

void vector_change ( double *  A,
int  n,
double  a 
)

◆ vector_copy()

double * vector_copy ( double *  A,
int  n 
)
Here is the call graph for this function:

◆ vector_free()

void vector_free ( double *  m)
Here is the caller graph for this function:

◆ vector_innerProduct()

double vector_innerProduct ( double *  A,
double *  B,
int  n 
)

◆ vector_new()

double * vector_new ( int  n)
Here is the caller graph for this function:

◆ vector_normalize()

void vector_normalize ( double *  A,
int  n 
)

◆ vector_outerProduct()

double ** vector_outerProduct ( double *  A,
double *  B,
int  n 
)
Here is the call graph for this function:

◆ vector_toMatrix()

double ** vector_toMatrix ( double *  A,
int  n 
)
Here is the call graph for this function:

◆ vector_toVectori()

int * vector_toVectori ( double *  A,
int  n 
)
Here is the call graph for this function:

◆ vector_zero()

void vector_zero ( double *  A,
int  n 
)
Here is the caller graph for this function:

◆ vectori_at()

int vectori_at ( int *  A,
int  n 
)

◆ vectori_change()

void vectori_change ( int *  A,
int  n,
int  a 
)

◆ vectori_copy()

int * vectori_copy ( int *  A,
int  n 
)
Here is the call graph for this function:

◆ vectori_free()

void vectori_free ( int *  m)
Here is the caller graph for this function:

◆ vectori_new()

int * vectori_new ( int  n)
Here is the caller graph for this function:

◆ vectori_toVector()

double * vectori_toVector ( int *  A,
int  n 
)
Here is the call graph for this function: