ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Public Types | Static Public Attributes | List of all members
is_alp_matrix_iterator< MatrixValType, IterT > Class Template Reference

Used to gauge whether a given type is an ALP matrix iterator. More...

Public Types

using ColumnIndexType = decltype(match_j< IterT >(nullptr))
 Type of the column index.
 
using RowIndexType = decltype(match_i< IterT >(nullptr))
 Type of the row index.
 
using ValueType = decltype(match_v< IterT >(nullptr))
 Type of the nonzero value.
 

Static Public Attributes

static constexpr bool value
 Whether IterT is an ALP matrix iterator.
 

Detailed Description

template<typename MatrixValType, typename IterT>
class grb::utils::is_alp_matrix_iterator< MatrixValType, IterT >

Used to gauge whether a given type is an ALP matrix iterator.

An ALP matrix iterator has the following methods:

  1. i(),
  2. j(), and
  3. v(), iff MatrixValType is not void.
Template Parameters
MatrixValTypeValue type of the matrix; if void, does not check for the presence of a v() method that returns a nonzero value.
IterTThe iterator type.

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