alpaqa 1.0.0a18
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Functions
alpaqa::util::detail Namespace Reference

Classes

struct  dummy
 Unused unique type tag for template specializations that were rejected because some types were not distinct. More...
 
struct  Launderer
 

Functions

template<class A , class... Bs>
constexpr bool any_is_same ()
 Check if A is equal to any of Bs.
 
template<class SpMat , class MaskVec >
auto select_rows_in_col (const SpMat &sp_mat, MaskVec &mask, auto column)
 Returns a range over the row indices in the given column of sp_mat that are also in mask.
 
template<class SpMat , class MaskVec >
auto select_rows_in_col_iota (const SpMat &sp_mat, MaskVec &mask, auto column)
 Like select_rows_in_col, but returns a range of tuples containing the Eigen InnerIterator and a linear index into the mask.
 

Class Documentation

◆ alpaqa::util::detail::dummy

struct alpaqa::util::detail::dummy
+ Collaboration diagram for dummy<... >:

Function Documentation

◆ any_is_same()

template<class A , class... Bs>
constexpr bool any_is_same ( )
constexpr

Check if A is equal to any of Bs.

Definition at line 10 of file possible-alias.hpp.

◆ select_rows_in_col()

template<class SpMat , class MaskVec >
auto select_rows_in_col ( const SpMat sp_mat,
MaskVec mask,
auto  column 
)

Returns a range over the row indices in the given column of sp_mat that are also in mask.

The range consists of the full Eigen InnerIterators (row, column, value).

Definition at line 27 of file sparse-ops.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ select_rows_in_col_iota()

template<class SpMat , class MaskVec >
auto select_rows_in_col_iota ( const SpMat sp_mat,
MaskVec mask,
auto  column 
)

Like select_rows_in_col, but returns a range of tuples containing the Eigen InnerIterator and a linear index into the mask.

Definition at line 49 of file sparse-ops.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: