libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_linalg.h File Reference
#include <cmath>
#include <cstdio>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  ode
 

Functions

void ode::ode_crout_forw_sub (double **L, double *b, int *p, int n, double *out)
 Crout forward substitution.
 
void ode::ode_back_sub (double **U, double *b, int n, double *out)
 Backward substitution.
 
void ode::ode_crout_LU (double **A, int n, int *p)
 Crout LU decomposition.
 
void ode::ode_solve_LU (double **LU, int *p, double *b, int n, double *out)
 Solves a matrix equation where the matrix has already be crout LU decomposed.
 
void ode::ode_solve_A (double **A, double *b, int n, double *out)
 Solves a matrix equation A x = b with crout LU decomposition.
 
void ode::ode_solve_tridiag (double **T, double *r, double *temp, int n, double *out)
 Solves a tridiagonal matrix equation.