ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::algebra::generic::matrix::decomposition::partial_pivot_lud< matrix_t > Struct Template Reference

"Partial Pivot LU Decomposition", assuming a N X N matrix More...

#include <detray/algebra/generic/algorithms/matrix/decomposition/partial_pivot_lud.hpp>

Classes

struct  lud
 Result of LU decomposition for a matrix of rank N. More...

Public Types

using index_t = detray::traits::index_t<matrix_t>
 Matrix index type.
using scalar_t = detray::traits::value_t<matrix_t>
 Matrix element type.
using vector_t = detray::traits::vector_t<matrix_t>
 Vector type used to store row permutations.

Public Member Functions

constexpr lud< detray::traits::max_rank< matrix_t > > operator() (const matrix_t &m) const
 Decompose the input matrix using partial pivoting.

Detailed Description

template<concepts::matrix matrix_t>
struct detray::algebra::generic::matrix::decomposition::partial_pivot_lud< matrix_t >

"Partial Pivot LU Decomposition", assuming a N X N matrix

Member Function Documentation

◆ operator()()

template<concepts::matrix matrix_t>
lud< detray::traits::max_rank< matrix_t > > detray::algebra::generic::matrix::decomposition::partial_pivot_lud< matrix_t >::operator() ( const matrix_t & m) const
constexpr

Decompose the input matrix using partial pivoting.

Parameters
mSquare matrix to factorize.
Returns
Combined LU factors, row permutation and pivot count.