ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
List of all members
max< D1, D2, D3, implementation > Class Template Reference

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

Inherits Operator< internal::max< D1, D2, D3, implementation > >.

Detailed Description

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

This operator takes the maximum 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: