num::kernel::rotg¶
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
void rotg(T a, T b, T &c, T &s) noexcept;
Construct a Givens rotation (ROTG): \(c, s\) with \((c a + s b,\ c b - s a) = (r, 0)\).
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
void rotg(T a, T b, T &c, T &s) noexcept;
Construct a Givens rotation (ROTG): \(c, s\) with \((c a + s b,\ c b - s a) = (r, 0)\).