Namespaces | Defines | Functions

LU_solver.h File Reference

Two algorithms for calculating the LU decomposition of a matrix, and solving a linear system. More...

#include <vector>

Go to the source code of this file.

Namespaces

namespace  LU_Solver
 

Contains functions to solve a linear system AX=B with LU decomposition.


Defines

#define TINY   1.0e-20

Functions

int LU_Solver::LUdecmpDoolittle (double *A, int n)
int LU_Solver::LUsolveDoolittle (double *LU, double *X, int nRows, int nCols)
int LU_Solver::LUdecmpCrout (double *A, int n, int *indx)
int LU_Solver::LUsolveCrout (double *LU, double *B, double *X, int nRows, int nCols, int *order)

Detailed Description

Two algorithms for calculating the LU decomposition of a matrix, and solving a linear system.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines