alpaqa 0.0.1
Nonconvex constrained optimization
Public Types | Public Member Functions | Public Attributes | List of all members
vec_allocator::alloc_raii_wrapper Struct Reference

#include <alpaqa/util/alloc.hpp>

Detailed Description

Definition at line 51 of file alloc.hpp.

+ Collaboration diagram for vec_allocator::alloc_raii_wrapper:

Public Types

using mvec = Eigen::Map< vec >
 

Public Member Functions

 alloc_raii_wrapper (real_t *dptr, Eigen::Index n, vec_allocator *alloc)
 
 alloc_raii_wrapper (mvec &&v, vec_allocator *alloc)
 
 ~alloc_raii_wrapper ()
 
 alloc_raii_wrapper (const alloc_raii_wrapper &)=delete
 
 alloc_raii_wrapper (alloc_raii_wrapper &&o)
 
alloc_raii_wrapperoperator= (const alloc_raii_wrapper &)=delete
 
alloc_raii_wrapperoperator= (alloc_raii_wrapper &&o)
 
alloc_raii_wrapperoperator= (crvec v)
 
 operator crvec () const
 
 operator rvec ()
 

Public Attributes

mvec v
 
vec_allocatoralloc
 

Member Typedef Documentation

◆ mvec

using mvec = Eigen::Map<vec>

Definition at line 52 of file alloc.hpp.

Constructor & Destructor Documentation

◆ alloc_raii_wrapper() [1/4]

alloc_raii_wrapper ( real_t dptr,
Eigen::Index  n,
vec_allocator alloc 
)
inline

Definition at line 56 of file alloc.hpp.

◆ alloc_raii_wrapper() [2/4]

alloc_raii_wrapper ( mvec &&  v,
vec_allocator alloc 
)
inline

Definition at line 58 of file alloc.hpp.

◆ ~alloc_raii_wrapper()

~alloc_raii_wrapper ( )
inline

Definition at line 60 of file alloc.hpp.

+ Here is the call graph for this function:

◆ alloc_raii_wrapper() [3/4]

alloc_raii_wrapper ( const alloc_raii_wrapper )
delete

◆ alloc_raii_wrapper() [4/4]

Definition at line 65 of file alloc.hpp.

Member Function Documentation

◆ operator=() [1/3]

alloc_raii_wrapper & operator= ( const alloc_raii_wrapper )
delete

◆ operator=() [2/3]

alloc_raii_wrapper & operator= ( alloc_raii_wrapper &&  o)
inline

Definition at line 69 of file alloc.hpp.

+ Here is the call graph for this function:

◆ operator=() [3/3]

alloc_raii_wrapper & operator= ( crvec  v)
inline

Definition at line 75 of file alloc.hpp.

◆ operator crvec()

operator crvec ( ) const
inline

Definition at line 79 of file alloc.hpp.

◆ operator rvec()

operator rvec ( )
inline

Definition at line 80 of file alloc.hpp.

Member Data Documentation

◆ v

mvec v

Definition at line 53 of file alloc.hpp.

◆ alloc

vec_allocator* alloc

Definition at line 54 of file alloc.hpp.


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