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

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

Public Types

using NextColStride = Eigen::Stride<0, 0>
 
using NextRowStride = 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_col_stride (isize outer_stride) noexcept -> NextColStride
 
static VEG_INLINE auto next_row_stride (isize outer_stride) noexcept -> NextRowStride
 
template<typename T>
static VEG_INLINE void transpose_if_rowmajor (T *ptr, isize dim, isize outer_stride)
 

Detailed Description

Definition at line 312 of file views.hpp.

Member Typedef Documentation

◆ NextColStride

using proxsuite::proxqp::detail::ElementAccess< Layout::rowmajor >::NextColStride = Eigen::Stride<0, 0>

Definition at line 323 of file views.hpp.

◆ NextRowStride

using proxsuite::proxqp::detail::ElementAccess< Layout::rowmajor >::NextRowStride = Eigen::InnerStride<Eigen::Dynamic>

Definition at line 324 of file views.hpp.

Member Function Documentation

◆ offset()

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

Definition at line 315 of file views.hpp.

◆ next_col_stride()

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

Definition at line 325 of file views.hpp.

◆ next_row_stride()

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

Definition at line 331 of file views.hpp.

◆ transpose_if_rowmajor()

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

Definition at line 339 of file views.hpp.


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