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

Classes

struct  Launderer
 

Functions

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.
 

Function Documentation

◆ 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: