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

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

Collaboration diagram for proxsuite::proxqp::MatrixViewMut< T, L >:
[legend]

Public Member Functions

VEG_INLINE MatrixViewMut (FromPtrRowsColsStride, T *_data, isize _rows, isize _cols, isize _outer_stride) noexcept
 
 VEG_TEMPLATE (typename Mat, requires(LDLT_CONCEPT(eigen_view< Mat, T >) &&eigen::GetLayout< unref< Mat > >::value==L), VEG_INLINE MatrixViewMut,(, FromEigen),(mat, Mat &&)) noexcept
 
VEG_INLINE auto ptr (isize row, isize col) const noexcept -> T *
 
VEG_INLINE auto operator() (isize row, isize col) const noexcept -> T &
 
VEG_INLINE auto block (isize row, isize col, isize nrows, isize ncols) const noexcept -> MatrixViewMut
 
VEG_INLINE auto col (isize c) const noexcept -> proxsuite::linalg::veg::meta::if_t<(L==colmajor), VectorViewMut< T >, StridedVectorViewMut< T > >
 
VEG_INLINE auto row (isize r) const noexcept -> proxsuite::linalg::veg::meta::if_t<(L==rowmajor), VectorViewMut< T >, StridedVectorViewMut< T > >
 
VEG_INLINE auto trans () const noexcept -> MatrixViewMut< T, proxqp::flip_layout(L)>
 
VEG_INLINE auto to_eigen () const noexcept -> detail::EigenMatMapMut< T, L >
 
VEG_INLINE auto as_const () const noexcept -> MatrixView< T, L >
 

Public Attributes

T * data
 
isize rows
 
isize cols
 
isize outer_stride
 

Detailed Description

template<typename T, Layout L>
struct proxsuite::proxqp::MatrixViewMut< T, L >

Definition at line 917 of file views.hpp.

Constructor & Destructor Documentation

◆ MatrixViewMut()

template<typename T , Layout L>
VEG_INLINE proxsuite::proxqp::MatrixViewMut< T, L >::MatrixViewMut ( FromPtrRowsColsStride ,
T * _data,
isize _rows,
isize _cols,
isize _outer_stride )
inlinenoexcept

Definition at line 924 of file views.hpp.

Member Function Documentation

◆ VEG_TEMPLATE()

template<typename T , Layout L>
proxsuite::proxqp::MatrixViewMut< T, L >::VEG_TEMPLATE ( typename Mat ,
requires(LDLT_CONCEPT(eigen_view< Mat, T >) && eigen::GetLayout< unref< Mat > >::value==L) ,
VEG_INLINE MatrixViewMut,
(, FromEigen) ,
(mat, Mat &&)  )
inlinenoexcept

Definition at line 936 of file views.hpp.

◆ ptr()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::ptr ( isize row,
isize col ) const -> T*
inlinenoexcept

Definition at line 949 of file views.hpp.

◆ operator()()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::operator() ( isize row,
isize col ) const -> T&
inlinenoexcept

Definition at line 953 of file views.hpp.

◆ block()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::block ( isize row,
isize col,
isize nrows,
isize ncols ) const -> MatrixViewMut
inlinenoexcept

Definition at line 957 of file views.hpp.

◆ col()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::col ( isize c) const -> proxsuite::linalg::veg::meta:: if_t<(L == colmajor), VectorViewMut<T>, StridedVectorViewMut<T>>
inlinenoexcept

Definition at line 995 of file views.hpp.

◆ row()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::row ( isize r) const -> proxsuite::linalg::veg::meta:: if_t<(L == rowmajor), VectorViewMut<T>, StridedVectorViewMut<T>>
inlinenoexcept

Definition at line 1001 of file views.hpp.

◆ trans()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::trans ( ) const -> MatrixViewMut<T, proxqp::flip_layout(L)>
inlinenoexcept

Definition at line 1007 of file views.hpp.

◆ to_eigen()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::to_eigen ( ) const -> detail::EigenMatMapMut<T, L>
inlinenoexcept

Definition at line 1014 of file views.hpp.

◆ as_const()

template<typename T , Layout L>
VEG_INLINE auto proxsuite::proxqp::MatrixViewMut< T, L >::as_const ( ) const -> MatrixView<T, L>
inlinenoexcept

Definition at line 1022 of file views.hpp.

Member Data Documentation

◆ data

template<typename T , Layout L>
T* proxsuite::proxqp::MatrixViewMut< T, L >::data

Definition at line 919 of file views.hpp.

◆ rows

template<typename T , Layout L>
isize proxsuite::proxqp::MatrixViewMut< T, L >::rows

Definition at line 920 of file views.hpp.

◆ cols

template<typename T , Layout L>
isize proxsuite::proxqp::MatrixViewMut< T, L >::cols

Definition at line 921 of file views.hpp.

◆ outer_stride

template<typename T , Layout L>
isize proxsuite::proxqp::MatrixViewMut< T, L >::outer_stride

Definition at line 922 of file views.hpp.


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