ALP User Documentation 0.7.alpha
Algebraic Programming User Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
spy.hpp File Reference

Implements a simple matrix spy algorithm. More...

Go to the source code of this file.

Namespaces

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

Functions

template<bool normalize = false, typename IOType >
RC spy (grb::Matrix< IOType > &out, const grb::Matrix< bool > &in)
 Specialisation for boolean input matrices in.
 
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.
 
template<bool normalize = false, typename IOType >
RC spy (grb::Matrix< IOType > &out, const grb::Matrix< void > &in)
 Specialisation for void input matrices in.
 

Detailed Description

Implements a simple matrix spy algorithm.

Author
A. N. Yzelman