ALP User Documentation 0.7.alpha
Algebraic Programming User Documentation
Loading...
Searching...
No Matches
List of all members
square_diff< D1, D2, D3, implementation > Class Template Reference

This operation returns the squared difference between two numbers. More...

#include <ops.hpp>

Inherits Operator< internal::square_diff< D1, D2, D3, config::default_backend > >.

Detailed Description

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

This operation returns the squared difference between two numbers.

Mathematical notation: \( \odot(x,y) \to (x-y)^2 \).

Warning
This operator expects numerical types for D1, D2, and D3, or types that have the appropriate operator- and operator* overloads available.
See also
abs_diff

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