proxsuite 0.7.2
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::Dyn Struct Reference

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

Public Member Functions

constexpr Dyn ()=default
constexpr Dyn (isize val) VEG_NOEXCEPT
template<isize N>
constexpr Dyn (Fix< N >) VEG_NOEXCEPT
VEG_NODISCARD VEG_INLINE constexpr operator isize () const VEG_NOEXCEPT
VEG_NODISCARD VEG_INLINE constexpr auto operator+ () const VEG_NOEXCEPT -> Dyn
VEG_NODISCARD VEG_INLINE constexpr auto operator- () const VEG_NOEXCEPT -> Dyn
 VEG_OP (+, add, Add)
 VEG_OP (-, sub, Sub)
 VEG_TEMPLATE ((typename R), requires(VEG_CONCEPT(index< R >) &&VEG_CONCEPT(index< typename _detail::binary_traits< Dyn, R >::Div >)), VEG_NODISCARD VEG_INLINE constexpr auto operator/,(b, R)) const VEG_NOEXCEPT -> typename _detail::binary_traits< Dyn, R >::Div
 VEG_TEMPLATE ((typename R), requires(VEG_CONCEPT(index< R >) &&VEG_CONCEPT(index< typename _detail::binary_traits< Dyn, R >::Mod >)), VEG_NODISCARD VEG_INLINE constexpr auto operator%,(b, R)) const VEG_NOEXCEPT -> typename _detail::binary_traits< Dyn, 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

Definition at line 48 of file dyn_index.hpp.

Constructor & Destructor Documentation

◆ Dyn() [1/3]

proxsuite::linalg::veg::Dyn::Dyn()
constexprdefault

◆ Dyn() [2/3]

proxsuite::linalg::veg::Dyn::Dyn(isizeval)
inlineconstexpr

Definition at line 51 of file dyn_index.hpp.

◆ Dyn() [3/3]

template<isize N>
proxsuite::linalg::veg::Dyn::Dyn(Fix< N >)
inlineconstexpr

Definition at line 56 of file dyn_index.hpp.

Member Function Documentation

◆ operator isize()

VEG_NODISCARD VEG_INLINE constexpr proxsuite::linalg::veg::Dyn::operator isize()const
inlineexplicitconstexpr

Definition at line 61 of file dyn_index.hpp.

◆ operator+()

VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Dyn::operator+()const -> Dyn
inlineconstexpr

Definition at line 66 of file dyn_index.hpp.

◆ operator-()

VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Dyn::operator-()const -> Dyn
inlineconstexpr

Definition at line 70 of file dyn_index.hpp.

◆ VEG_OP() [1/2]

proxsuite::linalg::veg::Dyn::VEG_OP(+,
add,
Add )

◆ VEG_OP() [2/2]

proxsuite::linalg::veg::Dyn::VEG_OP(-,
sub,
Sub )

◆ VEG_TEMPLATE() [1/2]

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

Definition at line 93 of file dyn_index.hpp.

◆ VEG_TEMPLATE() [2/2]

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

Definition at line 105 of file dyn_index.hpp.

◆ VEG_CMP() [1/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(eq,
CmpEq )

◆ VEG_CMP() [2/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(neq,
CmpNEq,
! )

◆ VEG_CMP() [3/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(lt,
CmpLT )

◆ VEG_CMP() [4/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(le,
CmpLE,
<= )

◆ VEG_CMP() [5/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(gt,
CmpGT )

◆ VEG_CMP() [6/6]

proxsuite::linalg::veg::Dyn::VEG_CMP(ge,
CmpGE,
>= )

Member Data Documentation

◆ mul

VEG_OP* proxsuite::linalg::veg::Dyn::mul

Definition at line 89 of file dyn_index.hpp.


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