Skip to content

num::kernel::trsv_lower

Defined in header <kernel/dense.hpp>

template <std::floating_point T>
void trsv_lower(T *x, const T *L, const T *b, idx n) noexcept;  // (1)

template <std::floating_point T>
void trsv_lower(contract::alias_safe_t, T *x, const T *L, const T *b, idx n) noexcept;  // (2)

(1) Forward substitution solving lower triangular system \(L \mathbf{x} = \mathbf{b}\) (\(L \in \mathbb{R}^{n \times n}\)).

(2) Explicit alias-safe lower triangular solve; x and b may coincide.