ALP User Documentation 0.7.alpha
Algebraic Programming User Documentation
|
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. | |
Implements a simple matrix spy algorithm.