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

#include <proxsuite/linalg/veg/slice.hpp>

Inheritance diagram for proxsuite::linalg::veg::SliceMut< T >:
[legend]
Collaboration diagram for proxsuite::linalg::veg::SliceMut< T >:
[legend]

Public Member Functions

VEG_INLINE constexpr SliceMut ()=default
 
VEG_INLINE constexpr SliceMut (Unsafe, FromRawParts, T const *data_, isize count) VEG_NOEXCEPT
 
VEG_NODISCARD VEG_INLINE constexpr auto as_const () const noexcept -> Slice< T >
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto operator[](isize idx) VEG_NOEXCEPT -> T &
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto ptr_mut() VEG_NOEXCEPT -> T *
 
VEG_NODISCARD VEG_INLINE auto get_mut_unchecked (Unsafe, isize idx) VEG_NOEXCEPT -> RefMut< T >
 
VEG_NODISCARD VEG_INLINE auto as_mut_bytes () VEG_NOEXCEPT -> SliceMut< unsigned char >
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto split_at_mut(isize idx) VEG_NOEXCEPT -> Tuple< SliceMut< T >, SliceMut< T > >
 

Detailed Description

template<typename T>
struct proxsuite::linalg::veg::SliceMut< T >

Definition at line 103 of file slice.hpp.

Constructor & Destructor Documentation

◆ SliceMut() [1/2]

template<typename T >
VEG_INLINE constexpr proxsuite::linalg::veg::SliceMut< T >::SliceMut ( )
constexprdefault

◆ SliceMut() [2/2]

template<typename T >
VEG_INLINE constexpr proxsuite::linalg::veg::SliceMut< T >::SliceMut ( Unsafe ,
FromRawParts ,
T const * data_,
isize count )
inlineconstexpr

Definition at line 109 of file slice.hpp.

Member Function Documentation

◆ as_const()

template<typename T >
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::SliceMut< T >::as_const ( ) const -> Slice<T>
inlineconstexprnoexcept

Definition at line 128 of file slice.hpp.

◆ VEG_CPP14() [1/3]

template<typename T >
VEG_NODISCARD VEG_INLINE proxsuite::linalg::veg::SliceMut< T >::VEG_CPP14 ( constexpr ) -> T&
inline

Definition at line 135 of file slice.hpp.

◆ VEG_CPP14() [2/3]

template<typename T >
VEG_NODISCARD VEG_INLINE proxsuite::linalg::veg::SliceMut< T >::VEG_CPP14 ( constexpr ) -> T*
inline

Definition at line 141 of file slice.hpp.

◆ get_mut_unchecked()

template<typename T >
VEG_NODISCARD VEG_INLINE auto proxsuite::linalg::veg::SliceMut< T >::get_mut_unchecked ( Unsafe ,
isize idx ) -> RefMut<T>
inline

Definition at line 148 of file slice.hpp.

◆ as_mut_bytes()

Definition at line 152 of file slice.hpp.

◆ VEG_CPP14() [3/3]

Definition at line 163 of file slice.hpp.


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