ALFI
Advanced Library for Function Interpolation
Loading...
Searching...
No Matches
linalg.h File Reference
#include <iostream>
#include "../config.h"
Include dependency graph for linalg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  alfi
 
namespace  alfi::util
 
namespace  alfi::util::linalg
 

Functions

template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > alfi::util::linalg::lup_solve (Container< Container< Number > > &&A, Container< Number > &&B, Number epsilon=std::numeric_limits< Number >::epsilon())
 Solves a system of linear equations using LUP decomposition.
 
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > alfi::util::linalg::tridiag_solve_unstable (const Container< Number > &lower, Container< Number > &&diag, const Container< Number > &upper, Container< Number > &&right)
 Solves a tridiagonal system of linear equations.
 
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer>
Container< Number > alfi::util::linalg::tridiag_solve (Container< Number > &&lower, Container< Number > &&diag, Container< Number > &&upper, Container< Number > &&right)
 Solves a tridiagonal system of linear equations.