ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Namespaces | Functions
spy.hpp File Reference

Implements a simple matrix spy algorithm. More...

Go to the source code of this file.

Namespaces

 grb
 The ALP/GraphBLAS namespace.
 
 grb::algorithms
 The namespace for ALP/GraphBLAS algorithms.
 

Functions

template<bool normalize = false, typename IOType , typename InputType >
RC spy (grb::Matrix< IOType > &out, const grb::Matrix< InputType > &in)
 Given an input matrix and a smaller output matrix, map nonzeroes from the input matrix into the smaller one and count the number of nonzeroes that are mapped from the bigger matrix into the smaller. More...
 
template<bool normalize = false, typename IOType >
RC spy (grb::Matrix< IOType > &out, const grb::Matrix< bool > &in)
 Specialisation for boolean input matrices in. More...
 
template<bool normalize = false, typename IOType >
RC spy (grb::Matrix< IOType > &out, const grb::Matrix< void > &in)
 Specialisation for void input matrices in. More...
 

Detailed Description

Implements a simple matrix spy algorithm.

Author
A. N. Yzelman