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

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

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

Public Member Functions

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

Public Attributes

T const * data
 
isize dim
 

Detailed Description

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

Definition at line 589 of file views.hpp.

Constructor & Destructor Documentation

◆ VectorView()

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

Definition at line 595 of file views.hpp.

Member Function Documentation

◆ VEG_TEMPLATE()

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

Definition at line 601 of file views.hpp.

◆ ptr()

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

Definition at line 611 of file views.hpp.

◆ operator()()

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

Definition at line 615 of file views.hpp.

◆ segment()

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

Definition at line 619 of file views.hpp.

◆ to_eigen()

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

Definition at line 627 of file views.hpp.

Member Data Documentation

◆ data

template<typename T >
T const* proxsuite::proxqp::VectorView< T >::data

Definition at line 591 of file views.hpp.

◆ dim

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

Definition at line 592 of file views.hpp.


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