MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::math::givens_parameters< T > Struct Template Reference

A plane rotation G = [c s; -conj(s) c] with c a + s b = r and -conj(s) a + c b = 0. More...

#include <pow2_scaling.hpp>

Public Attributes

T c
T s
T r

Detailed Description

template<typename T>
struct mtl::math::givens_parameters< T >

A plane rotation G = [c s; -conj(s) c] with c a + s b = r and -conj(s) a + c b = 0.

For a real T, conj is the identity: [c s; -s c]. For a complex T, c is real (held as a T with zero imaginary part).

Member Data Documentation

◆ c

template<typename T>
T mtl::math::givens_parameters< T >::c

◆ r

template<typename T>
T mtl::math::givens_parameters< T >::r

◆ s

template<typename T>
T mtl::math::givens_parameters< T >::s

The documentation for this struct was generated from the following file: