proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::VectorViewMut< T > Struct Template Reference

#include <proxsuite/proxqp/dense/views.hpp>

Collaboration diagram for proxsuite::proxqp::VectorViewMut< T >:
[legend]

Public Member Functions

VEG_INLINE VectorViewMut (FromPtrSize, T *_data, isize _dim) noexcept
 
 VEG_TEMPLATE (typename Vec, requires(LDLT_CONCEPT(eigen_vector_view_mut< Vec, T >)), VEG_INLINE VectorViewMut,(, FromEigen),(vec, Vec &&)) noexcept
 
VEG_INLINE auto as_const () const noexcept -> VectorView< T >
 
VEG_INLINE auto ptr (isize index) const noexcept -> T *
 
VEG_INLINE auto operator() (isize index) const noexcept -> T &
 
VEG_INLINE auto segment (isize i, isize size) const noexcept -> VectorViewMut
 
VEG_INLINE auto to_eigen () const -> detail::VecMapMut< T >
 

Public Attributes

T * data
 
isize dim
 

Detailed Description

template<typename T>
struct proxsuite::proxqp::VectorViewMut< T >

Definition at line 634 of file views.hpp.

Constructor & Destructor Documentation

◆ VectorViewMut()

template<typename T >
VEG_INLINE proxsuite::proxqp::VectorViewMut< T >::VectorViewMut ( FromPtrSize ,
T * _data,
isize _dim )
inlinenoexcept

Definition at line 640 of file views.hpp.

Member Function Documentation

◆ VEG_TEMPLATE()

template<typename T >
proxsuite::proxqp::VectorViewMut< T >::VEG_TEMPLATE ( typename Vec ,
requires(LDLT_CONCEPT(eigen_vector_view_mut< Vec, T >)) ,
VEG_INLINE VectorViewMut,
(, FromEigen) ,
(vec, Vec &&)  )
inlinenoexcept

Definition at line 646 of file views.hpp.

◆ as_const()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::as_const ( ) const -> VectorView<T>
inlinenoexcept

Definition at line 656 of file views.hpp.

◆ ptr()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::ptr ( isize index) const -> T*
inlinenoexcept

Definition at line 664 of file views.hpp.

◆ operator()()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::operator() ( isize index) const -> T&
inlinenoexcept

Definition at line 665 of file views.hpp.

◆ segment()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::segment ( isize i,
isize size ) const -> VectorViewMut
inlinenoexcept

Definition at line 669 of file views.hpp.

◆ to_eigen()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::to_eigen ( ) const -> detail::VecMapMut<T>
inline

Definition at line 677 of file views.hpp.

Member Data Documentation

◆ data

template<typename T >
T* proxsuite::proxqp::VectorViewMut< T >::data

Definition at line 636 of file views.hpp.

◆ dim

template<typename T >
isize proxsuite::proxqp::VectorViewMut< T >::dim

Definition at line 637 of file views.hpp.


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