ALP User Documentation 0.7.0
Algebraic Programming User Documentation
List of all members
min< D1, D2, D3, implementation > Class Template Reference

This operator takes the minimum of the two input parameters and writes the result to the output variable. More...

#include <ops.hpp>

Inherits Operator< internal::min< D1, D1, D1, config::default_backend > >.

Detailed Description

template<typename D1, typename D2 = D1, typename D3 = D2, enum Backend implementation = config::default_backend>
class grb::operators::min< D1, D2, D3, implementation >

This operator takes the minimum of the two input parameters and writes the result to the output variable.

It exposes the complete interface detailed in grb::operators::internal::Operator. This operator can be passed to any GraphBLAS function or object constructor.

Mathematical notation: \( \max(x,y)\ \to\ \begin{cases} x \text{ if } x < y \\ y \text{ otherwise} \end{cases} \).

Template Parameters
D1The left-hand side input domain.
D2The right-hand side input domain.
D3The output domain.
Warning
This operator expects objects with a partial ordering defined on and between elements of types D1, D2, and D3.

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