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

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

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 588 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 594 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_INLINEVectorView,
(, FromEigen),
(vec, Vec const &) )
inlinenoexcept

Definition at line 600 of file views.hpp.

◆ ptr()

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

Definition at line 610 of file views.hpp.

◆ operator()()

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

Definition at line 614 of file views.hpp.

◆ segment()

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

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

Member Data Documentation

◆ data

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

Definition at line 590 of file views.hpp.

◆ dim

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

Definition at line 591 of file views.hpp.


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