File: eigen.h

package info (click to toggle)
seq-gen 1.3.5-2
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 3,644 kB
  • sloc: ansic: 4,147; makefile: 38; sh: 17
file content (26 lines) | stat: -rwxr-xr-x 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*  Header file for eigen.c                                */

/*  
   Sequence Generator - seq-gen, version 1.3.5
   Copyright (c)1996-2025, Andrew Rambaut
   Institute of Evolutionary Biology, University of Edinburgh			

   The code in this file is taken from Ziheng Yang's PAML package, distributed under the GNU GPL v3
   http://abacus.gene.ucl.ac.uk/
   https://github.com/abacus-gene/paml

   Any feedback is very welcome.
   http://tree.bio.ed.ac.uk/software/seqgen/
   email: a.rambaut@ed.ac.uk
*/

#ifndef _EIGEN_H_
#define _EIGEN_H_

int abyx (double a, double x[], int n);
int xtoy (double x[], double y[], int n);
int matinv( double x[], int n, int m, double space[]);
int eigen(int job, double A[], int n, double rr[], double ri[],
          double vr[], double vi[], double w[]);

#endif /* _EIGEN_H_ */