proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::sparse::VecRef< T, I > Struct Template Reference

#include <proxsuite/linalg/sparse/core.hpp>

Collaboration diagram for proxsuite::linalg::sparse::VecRef< T, I >:
[legend]

Public Member Functions

 VecRef (FromRawParts, isize nrows, isize nnz, I const *row_indices, T const *values)
 
auto nrows () const noexcept -> isize
 
auto ncols () const noexcept -> isize
 
auto nnz () const noexcept -> isize
 
auto row_indices () const noexcept -> I const *
 
auto values () const noexcept -> T const *
 

Detailed Description

template<typename T, typename I = isize>
struct proxsuite::linalg::sparse::VecRef< T, I >

Definition at line 225 of file core.hpp.

Constructor & Destructor Documentation

◆ VecRef()

template<typename T , typename I = isize>
proxsuite::linalg::sparse::VecRef< T, I >::VecRef ( FromRawParts ,
isize nrows,
isize nnz,
I const * row_indices,
T const * values )
inline

Definition at line 227 of file core.hpp.

Member Function Documentation

◆ nrows()

template<typename T , typename I = isize>
auto proxsuite::linalg::sparse::VecRef< T, I >::nrows ( ) const -> isize
inlinenoexcept

Definition at line 237 of file core.hpp.

◆ ncols()

template<typename T , typename I = isize>
auto proxsuite::linalg::sparse::VecRef< T, I >::ncols ( ) const -> isize
inlinenoexcept

Definition at line 238 of file core.hpp.

◆ nnz()

template<typename T , typename I = isize>
auto proxsuite::linalg::sparse::VecRef< T, I >::nnz ( ) const -> isize
inlinenoexcept

Definition at line 239 of file core.hpp.

◆ row_indices()

template<typename T , typename I = isize>
auto proxsuite::linalg::sparse::VecRef< T, I >::row_indices ( ) const -> I const*
inlinenoexcept

Definition at line 241 of file core.hpp.

◆ values()

template<typename T , typename I = isize>
auto proxsuite::linalg::sparse::VecRef< T, I >::values ( ) const -> T const*
inlinenoexcept

Definition at line 242 of file core.hpp.

Member Data Documentation

◆ nrows

template<typename T , typename I = isize>
isize proxsuite::linalg::sparse::VecRef< T, I >::nrows

Definition at line 247 of file core.hpp.

◆ nnz

template<typename T , typename I = isize>
isize proxsuite::linalg::sparse::VecRef< T, I >::nnz

Definition at line 248 of file core.hpp.

◆ row

template<typename T , typename I = isize>
I const* proxsuite::linalg::sparse::VecRef< T, I >::row

Definition at line 249 of file core.hpp.

◆ val

template<typename T , typename I = isize>
T const* proxsuite::linalg::sparse::VecRef< T, I >::val

Definition at line 250 of file core.hpp.


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