Compute matrix inverse using LU Decomposition, and forward/backward substitution.
More...
#include "inverse.h"
Go to the source code of this file.
Functions | |
| void | ludcmp (UCFD_FLOAT *A) |
| LU Decomposition function. More... | |
| void | lusub (UCFD_FLOAT *LU, UCFD_FLOAT *b) |
| Forward/Backward substitution function. More... | |
| void | lusubmattrans (UCFD_FLOAT *LU, UCFD_FLOAT *B) |
| Forward/Backward substitution for transposed matrix. More... | |
Compute matrix inverse using LU Decomposition, and forward/backward substitution.
======================================================================================================================
This file contains LU Decomposition function and substitution function.
(1) LU Decomposition : ludcmp
Decompose the input matrix A by Lower/Upper triangular matrix.
A = LU
(2) Substitution : lusubst
Solve Ax = b by using forward/backward substitution.
Input vector `b` is overwritten with the solution vector `x`.
Row-major format. Definition in file inverse.c.
| void ludcmp | ( | UCFD_FLOAT * | A | ) |
| void lusub | ( | UCFD_FLOAT * | LU, |
| UCFD_FLOAT * | b | ||
| ) |
| void lusubmattrans | ( | UCFD_FLOAT * | LU, |
| UCFD_FLOAT * | B | ||
| ) |