num::kernel::trsv_upper¶
Defined in header <kernel/dense.hpp>
template <std::floating_point T>
void trsv_upper(T *x, const T *U, const T *b, idx n) noexcept; // (1)
template <std::floating_point T>
void trsv_upper(contract::alias_safe_t, T *x, const T *U, const T *b, idx n) noexcept; // (2)
(1) Back substitution solving upper triangular system \(U \mathbf{x} = \mathbf{b}\) (\(U \in \mathbb{R}^{n \times n}\)).
(2) Explicit alias-safe upper triangular solve; x and b may coincide.