|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include "DataTypes.h"Go to the source code of this file.
Functions | |
| bool | ludcmp (Real **a, size_t n, int *indx, Real *d) |
| void | lubksb (Real **a, size_t n, int *indx, Real *b) |
| Real * | lumult (int n, Real **a, Real *b, Real *c, int *indx) |
| Real ** | mat_mult_ludcmp (int n, Real **a, int *indx, Real **b, Real **c) |
| void | tridiagDecomp (int n, Real *a, Real *b, Real *c) |
| void | tridiagbksb (int n, Real *a, Real *b, Real *c, Real *f) |
| void | choldc (Real **a, int n, Real p[]) |
| void | cholsl (Real **a, int n, Real p[], Real b[], Real x[]) |
Compute LU decomposition
| [in] | a | square matrix |
| [in] | n | size of matrix |
| [out] | indx | row swap |
| [out] | d | odd or even |
indx is filledDefinition at line 22 of file ludec.cc.
Given the three bands of a tridaigonal matric of order n, alter the contents of the bands to hold the LU decomposition
| a0 c0 | | b1 a1 c1 | | b2 a2 c2 | | cn-2 | | bn-1 an-1 |
Algorithm taken from "Numerical Methods" by Dahlquist and Bjork translated by Anderson
| n | |
| a | |
| b | |
| c |