proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::Fix< N > Struct Template Reference

#include <proxsuite/linalg/veg/internal/fix_index.hpp>

Inheritance diagram for proxsuite::linalg::veg::Fix< N >:
[legend]
Collaboration diagram for proxsuite::linalg::veg::Fix< N >:
[legend]

Public Member Functions

constexpr Fix () VEG_NOEXCEPT=default
 
VEG_INLINE constexpr Fix (Dyn, Unsafe) VEG_NOEXCEPT
 
VEG_INLINE constexpr Fix (Dyn arg) VEG_NOEXCEPT
 
 VEG_TEMPLATE ((isize M), requires((M !=N)), constexpr Fix,(, Fix< M >))=delete
 
VEG_NODISCARD VEG_INLINE constexpr operator isize () const VEG_NOEXCEPT
 
VEG_NODISCARD VEG_INLINE constexpr auto operator+ () const VEG_NOEXCEPT -> Fix
 
VEG_NODISCARD VEG_INLINE constexpr auto operator- () const VEG_NOEXCEPT -> Fix<-N >
 
 VEG_OP (+, add, Add)
 
 VEG_OP (-, sub, Sub)
 
 VEG_TEMPLATE ((typename R), requires(VEG_CONCEPT(index< R >) &&VEG_CONCEPT(index< typename _detail::binary_traits< Fix, R >::Div >)), VEG_NODISCARD VEG_INLINE constexpr auto operator/,(b, R)) const VEG_NOEXCEPT -> typename _detail::binary_traits< Fix, R >::Div
 
 VEG_TEMPLATE ((typename R), requires(VEG_CONCEPT(index< R >) &&VEG_CONCEPT(index< typename _detail::binary_traits< Fix, R >::Mod >)), VEG_NODISCARD VEG_INLINE constexpr auto operator%,(b, R)) const VEG_NOEXCEPT -> typename _detail::binary_traits< Fix, R >::Mod
 
 VEG_CMP (eq, CmpEq,==)
 
 VEG_CMP (neq, CmpNEq, !=)
 
 VEG_CMP (lt, CmpLT,<)
 
 VEG_CMP (le, CmpLE,<=)
 
 VEG_CMP (gt, CmpGT, >)
 
 VEG_CMP (ge, CmpGE, >=)
 

Public Attributes

VEG_OPmul
 

Detailed Description

template<isize N>
struct proxsuite::linalg::veg::Fix< N >

Definition at line 97 of file fix_index.hpp.

Constructor & Destructor Documentation

◆ Fix() [1/3]

template<isize N>
constexpr proxsuite::linalg::veg::Fix< N >::Fix ( )
constexprdefault

◆ Fix() [2/3]

template<isize N>
VEG_INLINE constexpr proxsuite::linalg::veg::Fix< N >::Fix ( Dyn ,
Unsafe  )
constexpr

Definition at line 155 of file dyn_index.hpp.

◆ Fix() [3/3]

template<isize N>
VEG_INLINE constexpr proxsuite::linalg::veg::Fix< N >::Fix ( Dyn arg)
constexpr

Definition at line 159 of file dyn_index.hpp.

Member Function Documentation

◆ VEG_TEMPLATE() [1/3]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_TEMPLATE ( (isize M) ,
requires((M !=N)) ,
constexpr Fix,
(, Fix< M >)  )
delete

◆ operator isize()

template<isize N>
VEG_NODISCARD VEG_INLINE constexpr proxsuite::linalg::veg::Fix< N >::operator isize ( ) const
inlineexplicitconstexpr

Definition at line 108 of file fix_index.hpp.

◆ operator+()

template<isize N>
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Fix< N >::operator+ ( ) const -> Fix
inlineconstexpr

Definition at line 113 of file fix_index.hpp.

◆ operator-()

template<isize N>
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Fix< N >::operator- ( ) const -> Fix<-N>
inlineconstexpr

Definition at line 117 of file fix_index.hpp.

◆ VEG_OP() [1/2]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_OP ( + ,
add ,
Add  )

◆ VEG_OP() [2/2]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_OP ( - ,
sub ,
Sub  )

◆ VEG_TEMPLATE() [2/3]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_TEMPLATE ( (typename R) ,
requires(VEG_CONCEPT(index< R >) && VEG_CONCEPT(index< typename _detail::binary_traits< Fix< N >, R >::Div >)) ,
VEG_NODISCARD VEG_INLINE constexpr auto operator/ ,
(b, R)  ) const -> typename _detail::binary_traits<Fix, R>::Div
inline

Definition at line 141 of file fix_index.hpp.

◆ VEG_TEMPLATE() [3/3]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_TEMPLATE ( (typename R) ,
requires(VEG_CONCEPT(index< R >) && VEG_CONCEPT(index< typename _detail::binary_traits< Fix< N >, R >::Mod >)) ,
VEG_NODISCARD VEG_INLINE constexpr auto operator% ,
(b, R)  ) const -> typename _detail::binary_traits<Fix, R>::Mod
inline

Definition at line 153 of file fix_index.hpp.

◆ VEG_CMP() [1/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( eq ,
CmpEq  )

◆ VEG_CMP() [2/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( neq ,
CmpNEq ,
!  )

◆ VEG_CMP() [3/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( lt ,
CmpLT  )

◆ VEG_CMP() [4/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( le ,
CmpLE ,
<=  )

◆ VEG_CMP() [5/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( gt ,
CmpGT  )

◆ VEG_CMP() [6/6]

template<isize N>
proxsuite::linalg::veg::Fix< N >::VEG_CMP ( ge ,
CmpGE ,
>=  )

Member Data Documentation

◆ mul

template<isize N>
VEG_OP* proxsuite::linalg::veg::Fix< N >::mul

Definition at line 137 of file fix_index.hpp.


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