tfel
Loading...
Searching...
No Matches
tfel::math::LUDecomp< use_exceptions, perfom_runtime_checks > Struct Template Reference

#include </home/runner/work/tfel/tfel/include/TFEL/Math/LU/LUDecomp.hxx>

Public Member Functions

template<typename MatrixType, typename PermutationType>
TFEL_HOST_DEVICE std::pair< bool, int > exe (MatrixType &m, PermutationType &p, const numeric_type< MatrixType > eps)

Static Public Member Functions

template<typename MatrixType, typename PermutationType>
static TFEL_HOST_DEVICE TFEL_MATH_INLINE2 std::pair< bool, int > exe (MatrixType &, PermutationType &, const numeric_type< MatrixType >=100 *std::numeric_limits< numeric_type< MatrixType > >::min())

Detailed Description

template<bool use_exceptions = true, bool perfom_runtime_checks = false>
struct tfel::math::LUDecomp< use_exceptions, perfom_runtime_checks >

structure in charge of computing the LU decomposition of a matrix. Line permutation is performed.

Member Function Documentation

◆ exe()

template<bool use_exceptions = true, bool perfom_runtime_checks = false>
template<typename MatrixType, typename PermutationType>
TFEL_HOST_DEVICE TFEL_MATH_INLINE2 std::pair< bool, int > tfel::math::LUDecomp< use_exceptions, perfom_runtime_checks >::exe ( MatrixType & ,
PermutationType & ,
const numeric_type< MatrixType > = 100 *std::numeric_limits< numeric_type< MatrixType > >::min() )
static

Compute the LU decomposition of a matrix. Line permutation is performed.

Parameters
[in,out]m: the matrix to be decomposed
[in,out]p: the permutation vector
[in]eps: numerical parameter used to detect null pivot
Returns
the number of permutation made
Note
The decomposition is done in-place

The documentation for this struct was generated from the following files: