File: subroutines.h

package info (click to toggle)
r-cran-eco 3.1-7-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 672 kB
  • ctags: 163
  • sloc: ansic: 4,183; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/******************************************************************
  This file is a part of eco: R Package for Fitting Bayesian Models
  of Ecological Inference for 2x2 Tables
  by Kosuke Imai and Ying Lu
  Copyright: GPL version 2 or later.
*******************************************************************/

void SWP( double **X, int k, int size);
void dinv(double **X, int size, double **X_inv);
void dinv2D(double *X, int size, double *X_inv,char* emsg);
void dinv2D_sym(double *X, int size, double *X_inv,char* emsg);
void dcholdc(double **X, int size, double **L);
double ddet(double **X, int size, int give_log);
double ddet2D(double **X, int size, int give_log);
void dcholdc2D(double *X, int size, double *L);
void matrixMul(double **A, double **B, int r1, int c1, int r2, int c2, double **C);