Skip to content

num::kernel::trsm_upper_inplace

Defined in header <kernel/dense.hpp>

template <std::floating_point T>
void trsm_upper_inplace(T *X, idx ldx, const T *U, idx ldu, idx n, idx nrhs,
                        bool unit = false) noexcept;

Solves U*X=B in-place for upper triangular U with row stride ldu.

U is the transpose of a lower factor, so this is the transposed-lower solve with the strides swapped.