proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
dyn_index.hpp File Reference
Include dependency graph for dyn_index.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  proxsuite::linalg::veg::Boolean< maybe >
 
struct  proxsuite::linalg::veg::Dyn
 
struct  proxsuite::linalg::veg::_detail::binary_traits< Dyn, Dyn >
 
struct  proxsuite::linalg::veg::_detail::binary_traits< Fix< N >, Dyn >
 
struct  proxsuite::linalg::veg::_detail::binary_traits< Fix< 0 >, Dyn >
 
struct  proxsuite::linalg::veg::_detail::binary_traits< Dyn, Fix< N > >
 
struct  proxsuite::linalg::veg::fmt::Debug< Boolean< maybe > >
 
struct  proxsuite::linalg::veg::fmt::Debug< Dyn >
 

Namespaces

namespace  proxsuite
 
namespace  proxsuite::linalg
 
namespace  proxsuite::linalg::veg
 
namespace  proxsuite::linalg::veg::_detail
 
namespace  proxsuite::linalg::veg::literals
 

Macros

#define VEG_OP(Op, Name, TypeName)
 
#define VEG_CMP(Name, TypeName, Op)
 
#define VEG_OP(Name, TypeName, Op)
 
#define VEG_CMP(Name, TypeName, Op)
 

Functions

VEG_INLINE constexpr auto proxsuite::linalg::veg::literals::operator""_v (unsigned long long n) VEG_NOEXCEPT -> Dyn
 

Macro Definition Documentation

◆ VEG_OP [1/2]

#define VEG_OP ( Op,
Name,
TypeName )
Value:
VEG_TEMPLATE((typename R), \
requires(VEG_CONCEPT(index<R>)), \
VEG_NODISCARD VEG_INLINE constexpr auto \
operator Op, \
(b, R)) \
const VEG_NOEXCEPT->typename _detail::binary_traits<Dyn, R>::TypeName \
{ \
return _detail::binary_traits<Dyn, R>::Name##_fn(*this, b); \
} \
#define VEG_CONCEPT(...)
Definition macros.hpp:1243
#define VEG_TEMPLATE(TParams, Constraint, Attr_Name,...)
Definition macros.hpp:385
#define VEG_INLINE
Definition macros.hpp:118
#define VEG_NOM_SEMICOLON
Definition macros.hpp:600
#define VEG_NODISCARD
Definition prologue.hpp:97
#define VEG_NOEXCEPT
Definition prologue.hpp:30

Definition at line 75 of file dyn_index.hpp.

◆ VEG_CMP [1/2]

#define VEG_CMP ( Name,
TypeName,
Op )
Value:
VEG_TEMPLATE((typename R), \
requires(VEG_CONCEPT(index<R>)), \
VEG_NODISCARD VEG_INLINE constexpr auto \
operator Op, /* NOLINT */ \
(b, R)) \
const VEG_NOEXCEPT->typename _detail::binary_traits<Dyn, R>::TypeName \
{ \
return _detail::binary_traits<Dyn, R>::cmp_##Name##_fn(*this, b); \
} \

Definition at line 117 of file dyn_index.hpp.

◆ VEG_OP [2/2]

#define VEG_OP ( Name,
TypeName,
Op )
Value:
using TypeName /* NOLINT(bugprone-macro-parentheses) */ = Dyn; \
VEG_NODISCARD VEG_INLINE static constexpr auto Name##_fn(Dyn a, Dyn b) \
VEG_NOEXCEPT->TypeName \
{ \
return { isize(usize(isize(a)) Op usize(isize(b))) }; \
} \
static_assert(true, "")

Definition at line 75 of file dyn_index.hpp.

◆ VEG_CMP [2/2]

#define VEG_CMP ( Name,
TypeName,
Op )
Value:
using TypeName /* NOLINT(bugprone-macro-parentheses) */ = Boolean<maybe>; \
VEG_NODISCARD VEG_INLINE static constexpr auto Name##_fn(Dyn a, Dyn b) \
VEG_NOEXCEPT->TypeName \
{ \
return (isize(a) Op isize(b)); \
} \
static_assert(true, "")

Definition at line 117 of file dyn_index.hpp.