cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
pRC::JacobiRotation< T > Class Template Reference

#include <jacobi_rotation.hpp>

Public Member Functions

 ~JacobiRotation ()=default
 
constexpr JacobiRotation (JacobiRotation const &)=default
 
constexpr JacobiRotation (JacobiRotation &&)=default
 
constexpr JacobiRotationoperator= (JacobiRotation const &) &=default
 
constexpr JacobiRotationoperator= (JacobiRotation &&) &=default
 
constexpr JacobiRotation ()=default
 
constexpr JacobiRotation (T const &c, T const &s)
 
template<class X , IsTensorish R = RemoveReference<X>>
requires IsConvertible<typename R::Type, T> && (R::Dimension == 2)
constexpr JacobiRotation (X &&a, Index const p, Index const q)
 
template<class X , IsTensorish R = RemoveReference<X>>
requires IsConvertible<typename R::Type, T> && (R::Dimension == 1)
constexpr JacobiRotation (X &&a, Index const p, Index const q)
 
template<IsConvertible< T > R>
constexpr JacobiRotation (JacobiRotation< R > const &other)
 
template<IsConvertible< T > R>
constexpr auto & operator= (JacobiRotation< R > const &rhs) &
 
constexpr decltype(auto) c () &&
 
constexpr decltype(auto) c () const &&
 
constexpr auto & c () &
 
constexpr auto & c () const &
 
constexpr decltype(auto) s () &&
 
constexpr decltype(auto) s () const &&
 
constexpr auto & s () &
 
constexpr auto & s () const &
 

Static Public Member Functions

template<IsConvertible< T > R1, IsConvertible< T > R2, IsConvertible< T > R3>
static constexpr auto MakeJacobi (R1 const &x, R2 const &y, R3 const &z)
 
template<IsConvertible< T > R1, IsConvertible< T > R2>
static constexpr auto MakeGivens (R1 const &x, R2 const &y)
 

Constructor & Destructor Documentation

◆ ~JacobiRotation()

template<class T >
pRC::JacobiRotation< T >::~JacobiRotation ( )
default

◆ JacobiRotation() [1/7]

template<class T >
pRC::JacobiRotation< T >::JacobiRotation ( JacobiRotation< T > const & )
constexprdefault

◆ JacobiRotation() [2/7]

template<class T >
pRC::JacobiRotation< T >::JacobiRotation ( JacobiRotation< T > && )
constexprdefault

◆ JacobiRotation() [3/7]

template<class T >
pRC::JacobiRotation< T >::JacobiRotation ( )
constexprdefault

◆ JacobiRotation() [4/7]

template<class T >
pRC::JacobiRotation< T >::JacobiRotation ( T const & c,
T const & s )
inlineconstexpr

◆ JacobiRotation() [5/7]

template<class T >
template<class X , IsTensorish R = RemoveReference<X>>
requires IsConvertible<typename R::Type, T> && (R::Dimension == 2)
pRC::JacobiRotation< T >::JacobiRotation ( X && a,
Index const p,
Index const q )
inlineconstexpr

◆ JacobiRotation() [6/7]

template<class T >
template<class X , IsTensorish R = RemoveReference<X>>
requires IsConvertible<typename R::Type, T> && (R::Dimension == 1)
pRC::JacobiRotation< T >::JacobiRotation ( X && a,
Index const p,
Index const q )
inlineconstexpr

◆ JacobiRotation() [7/7]

template<class T >
template<IsConvertible< T > R>
pRC::JacobiRotation< T >::JacobiRotation ( JacobiRotation< R > const & other)
inlineconstexpr

Member Function Documentation

◆ c() [1/4]

template<class T >
auto & pRC::JacobiRotation< T >::c ( ) &
inlineconstexpr

◆ c() [2/4]

template<class T >
decltype(auto) pRC::JacobiRotation< T >::c ( ) &&
inlineconstexpr

◆ c() [3/4]

template<class T >
auto & pRC::JacobiRotation< T >::c ( ) const &
inlineconstexpr

◆ c() [4/4]

template<class T >
decltype(auto) pRC::JacobiRotation< T >::c ( ) const &&
inlineconstexpr

◆ MakeGivens()

template<class T >
template<IsConvertible< T > R1, IsConvertible< T > R2>
static constexpr auto pRC::JacobiRotation< T >::MakeGivens ( R1 const & x,
R2 const & y )
inlinestaticconstexpr

◆ MakeJacobi()

template<class T >
template<IsConvertible< T > R1, IsConvertible< T > R2, IsConvertible< T > R3>
static constexpr auto pRC::JacobiRotation< T >::MakeJacobi ( R1 const & x,
R2 const & y,
R3 const & z )
inlinestaticconstexpr

◆ operator=() [1/3]

template<class T >
JacobiRotation & pRC::JacobiRotation< T >::operator= ( JacobiRotation< T > && ) &
constexprdefault

◆ operator=() [2/3]

template<class T >
JacobiRotation & pRC::JacobiRotation< T >::operator= ( JacobiRotation< T > const & ) &
constexprdefault

◆ operator=() [3/3]

template<class T >
template<IsConvertible< T > R>
auto & pRC::JacobiRotation< T >::operator= ( JacobiRotation< R > const & rhs) &
inlineconstexpr

◆ s() [1/4]

template<class T >
auto & pRC::JacobiRotation< T >::s ( ) &
inlineconstexpr

◆ s() [2/4]

template<class T >
decltype(auto) pRC::JacobiRotation< T >::s ( ) &&
inlineconstexpr

◆ s() [3/4]

template<class T >
auto & pRC::JacobiRotation< T >::s ( ) const &
inlineconstexpr

◆ s() [4/4]

template<class T >
decltype(auto) pRC::JacobiRotation< T >::s ( ) const &&
inlineconstexpr

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