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) Solve a lower triangular system (TRSV): \(x \leftarrow L^{-1} b\). x and b must not alias; see the alias_safe overload.

(2) Solve a lower triangular system, allowing x and b to alias: \(x \leftarrow L^{-1} b\). x and b may alias.