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

This operator takes the sum of the two input parameters and writes it to the output variable. More...

#include <ops.hpp>

Inherits Operator< internal::add< 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::add< D1, D2, D3, implementation >

This operator takes the sum of the two input parameters and writes it 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: \( \odot(x,y)\ \to\ x + y \).

Template Parameters
D1The left-hand side input domain.
D2The right-hand side input domain.
D3The output domain.
Warning
This operator expects numerical types for D1, D2, and D3, or types that have the appropriate operator+-functions available.

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