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

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

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 633 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 639 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_INLINEVectorViewMut,
(, FromEigen),
(vec, Vec &&) )
inlinenoexcept

Definition at line 645 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 655 of file views.hpp.

◆ ptr()

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

Definition at line 663 of file views.hpp.

◆ operator()()

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

Definition at line 664 of file views.hpp.

◆ segment()

template<typename T>
VEG_INLINE auto proxsuite::proxqp::VectorViewMut< T >::segment(isizei,
isizesize ) const -> VectorViewMut
inlinenoexcept

Definition at line 668 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 676 of file views.hpp.

Member Data Documentation

◆ data

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

Definition at line 635 of file views.hpp.

◆ dim

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

Definition at line 636 of file views.hpp.


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