ARTS  2.2.66
lin_alg.h
Go to the documentation of this file.
1 /* Copyright (C) 2002-2012 Claudia Emde <claudia.emde@dlr.de>
2 
3  This program is free software; you can redistribute it and/or modify it
4  under the terms of the GNU General Public License as published by the
5  Free Software Foundation; either version 2, or (at your option) any
6  later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16  USA.
17 */
18 
29 #ifndef linalg_h
30 #define linalg_h
31 
32 
33 #include "matpackI.h"
34 
35 // LU decomposition
36 void
37 ludcmp(MatrixView LU,
38  ArrayOfIndex& indx,
39  ConstMatrixView A);
40 
41 
42 // LU backsubstitution
43 void
45  ConstMatrixView LU,
47  const ArrayOfIndex& indx);
48 
49 
50 // Exponential of a Matrix
51 void
53  ConstMatrixView A,
54  const Index& q=10);
55 
56 
57 // Maximum absolute row sum norm
58 Numeric
60 
61 
62 // Identity Matrix
63 void
65 
67 
68 
69 void linreg(
70  Vector& p,
71  ConstVectorView x,
72  ConstVectorView y );
73 
74 #endif // linalg_h
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35
void ludcmp(MatrixView LU, ArrayOfIndex &indx, ConstMatrixView A)
LU decomposition.
Definition: lin_alg.cc:54
The VectorView class.
Definition: matpackI.h:372
#define q
Definition: continua.cc:21469
The Vector class.
Definition: matpackI.h:556
The MatrixView class.
Definition: matpackI.h:679
Numeric norm_inf(ConstMatrixView A)
Maximum absolute row sum norm.
Definition: lin_alg.cc:277
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:29
void matrix_exp(MatrixView F, ConstMatrixView A, const Index &q=10)
General exponential of a Matrix.
Definition: lin_alg.cc:194
This can be used to make arrays out of anything.
Definition: array.h:40
void id_mat(MatrixView I)
Identity Matrix.
Definition: lin_alg.cc:299
void lubacksub(VectorView x, ConstMatrixView LU, ConstVectorView b, const ArrayOfIndex &indx)
LU backsubstitution.
Definition: lin_alg.cc:142
A constant view of a Vector.
Definition: matpackI.h:292
A constant view of a Matrix.
Definition: matpackI.h:596
void linreg(Vector &p, ConstVectorView x, ConstVectorView y)
Definition: lin_alg.cc:371
Numeric det(ConstMatrixView A)
Definition: lin_alg.cc:320