proxsuite 0.7.2
The Advanced Proximal Optimization Toolbox
 
Loading...
Searching...
No Matches
proxsuite::proxqp::detail::ElementAccess< Layout::colmajor > Struct Reference

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

Public Types

using NextRowStride = Eigen::Stride<0, 0>
 
using NextColStride = Eigen::InnerStride<Eigen::Dynamic>
 

Static Public Member Functions

template<typename T>
static VEG_INLINE constexpr auto offset (T *ptr, isize row, isize col, isize outer_stride) noexcept -> T *
 
static VEG_INLINE auto next_row_stride (isize outer_stride) noexcept -> NextRowStride
 
static VEG_INLINE auto next_col_stride (isize outer_stride) noexcept -> NextColStride
 
template<typename T>
static VEG_INLINE void transpose_if_rowmajor (T *ptr, isize dim, isize outer_stride)
 

Detailed Description

Definition at line 276 of file views.hpp.

Member Typedef Documentation

◆ NextRowStride

using proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::NextRowStride = Eigen::Stride<0, 0>

Definition at line 287 of file views.hpp.

◆ NextColStride

using proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::NextColStride = Eigen::InnerStride<Eigen::Dynamic>

Definition at line 288 of file views.hpp.

Member Function Documentation

◆ offset()

template<typename T>
static VEG_INLINE constexpr auto proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::offset ( T * ptr,
isize row,
isize col,
isize outer_stride ) -> T*
inlinestaticconstexprnoexcept

Definition at line 279 of file views.hpp.

◆ next_row_stride()

static VEG_INLINE auto proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::next_row_stride ( isize outer_stride) -> NextRowStride
inlinestaticnoexcept

Definition at line 289 of file views.hpp.

◆ next_col_stride()

static VEG_INLINE auto proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::next_col_stride ( isize outer_stride) -> NextColStride
inlinestaticnoexcept

Definition at line 295 of file views.hpp.

◆ transpose_if_rowmajor()

template<typename T>
static VEG_INLINE void proxsuite::proxqp::detail::ElementAccess< Layout::colmajor >::transpose_if_rowmajor ( T * ptr,
isize dim,
isize outer_stride )
inlinestatic

Definition at line 303 of file views.hpp.


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