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

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

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

Public Member Functions

VEG_INLINE StridedVectorView (FromPtrSizeStride, T const *_data, isize _dim, isize _stride) noexcept
 
 VEG_TEMPLATE (typename Vec, requires(LDLT_CONCEPT(eigen_strided_vector_view< Vec, T >)), VEG_INLINE StridedVectorView,(, 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 -> StridedVectorView
 
VEG_INLINE auto to_eigen () const -> detail::EigenVecMap< T, Eigen::InnerStride< Eigen::Dynamic > >
 

Public Attributes

T const * data
 
isize dim
 
isize stride
 

Detailed Description

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

Definition at line 684 of file views.hpp.

Constructor & Destructor Documentation

◆ StridedVectorView()

template<typename T >
VEG_INLINE proxsuite::proxqp::StridedVectorView< T >::StridedVectorView ( FromPtrSizeStride ,
T const * _data,
isize _dim,
isize _stride )
inlinenoexcept

Definition at line 691 of file views.hpp.

Member Function Documentation

◆ VEG_TEMPLATE()

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

Definition at line 701 of file views.hpp.

◆ ptr()

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

Definition at line 712 of file views.hpp.

◆ operator()()

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

Definition at line 716 of file views.hpp.

◆ segment()

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

Definition at line 720 of file views.hpp.

◆ to_eigen()

template<typename T >
VEG_INLINE auto proxsuite::proxqp::StridedVectorView< T >::to_eigen ( ) const -> detail::EigenVecMap<T, Eigen::InnerStride<Eigen::Dynamic>>
inline

Definition at line 730 of file views.hpp.

Member Data Documentation

◆ data

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

Definition at line 686 of file views.hpp.

◆ dim

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

Definition at line 687 of file views.hpp.

◆ stride

template<typename T >
isize proxsuite::proxqp::StridedVectorView< T >::stride

Definition at line 688 of file views.hpp.


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