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

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

Collaboration diagram for proxsuite::linalg::sparse::DenseVecRef< T >:
[legend]

Public Member Functions

 DenseVecRef ()=default
 
 DenseVecRef (FromRawParts, T const *data, isize len) noexcept
 
template<typename V >
 DenseVecRef (FromEigen, V const &v) noexcept
 
auto as_slice () const noexcept -> Slice< T >
 
auto nrows () const noexcept -> isize
 
auto ncols () const noexcept -> isize
 
auto to_eigen () const noexcept -> Eigen::Map< Eigen::Matrix< T, -1, 1 > const >
 

Detailed Description

template<typename T>
struct proxsuite::linalg::sparse::DenseVecRef< T >

Definition at line 125 of file core.hpp.

Constructor & Destructor Documentation

◆ DenseVecRef() [1/3]

template<typename T >
proxsuite::linalg::sparse::DenseVecRef< T >::DenseVecRef ( )
default

◆ DenseVecRef() [2/3]

template<typename T >
proxsuite::linalg::sparse::DenseVecRef< T >::DenseVecRef ( FromRawParts ,
T const * data,
isize len )
inlinenoexcept

Definition at line 128 of file core.hpp.

◆ DenseVecRef() [3/3]

template<typename T >
template<typename V >
proxsuite::linalg::sparse::DenseVecRef< T >::DenseVecRef ( FromEigen ,
V const & v )
inlinenoexcept

Definition at line 135 of file core.hpp.

Member Function Documentation

◆ as_slice()

template<typename T >
auto proxsuite::linalg::sparse::DenseVecRef< T >::as_slice ( ) const -> Slice<T>
inlinenoexcept

Definition at line 142 of file core.hpp.

◆ nrows()

template<typename T >
auto proxsuite::linalg::sparse::DenseVecRef< T >::nrows ( ) const -> isize
inlinenoexcept

Definition at line 151 of file core.hpp.

◆ ncols()

template<typename T >
auto proxsuite::linalg::sparse::DenseVecRef< T >::ncols ( ) const -> isize
inlinenoexcept

Definition at line 152 of file core.hpp.

◆ to_eigen()

template<typename T >
auto proxsuite::linalg::sparse::DenseVecRef< T >::to_eigen ( ) const -> Eigen::Map<Eigen::Matrix<T, -1, 1> const>
inlinenoexcept

Definition at line 154 of file core.hpp.

Member Data Documentation

◆ ptr

Definition at line 162 of file core.hpp.

◆ size

template<typename T >
isize proxsuite::linalg::sparse::DenseVecRef< T >::size

Definition at line 163 of file core.hpp.


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