about summary refs log tree commit diff
path: root/var_lib_genenet_bnw/localscore/matrix.h
blob: b37772b48c8f0e5515b049397a3a88294e118b0d (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*                               -*- Mode: C -*- 
 * matrix.h --- 
 * Author          : Claus Dethlefsen
 * Created On      : Thu Mar 14 06:47:52 2002
 * Last Modified By: Claus Dethlefsen
 * Last Modified On: Tue May 07 09:39:46 2002
 * Update Count    : 22
 * Status          : Unknown, Use with caution!
 */

/*
  ##
##    Copyright (C) 2002  Susanne Gammelgaard B�ttcher, Claus Dethlefsen
##
##    This program is free software; you can redistribute it and/or modify
##    it under the terms of the GNU General Public License as published by
##    the Free Software Foundation; either version 2 of the License, or
##    (at your option) any later version.
##
##    This program is distributed in the hope that it will be useful,
##    but WITHOUT ANY WARRANTY; without even the implied warranty of
##    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##    GNU General Public License for more details.
##
##    You should have received a copy of the GNU General Public License
##    along with this program; if not, write to the Free Software
##    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
######################################################################
*/

extern double **   dmatrix( int, int, int, int );
extern int *       ivector( int, int );
extern void        free_ivector( int    *, int, int );

extern int         invers(double **a, int n, double **b, int m);
extern void        printmat( double **, int, int);
extern void        asmatrix( double *, double **, int, int);
extern double**    matcopy(double **, int, int);
extern double**    matmult(double **,double **, int, int, int);
extern double**    matsum(double **a, double **b, int nr, int nc);
extern double**    matminus(double **a, double **b, int nr, int nc);
extern double**    transp (double **a, int n, int m);