Skip to content

HamacherSum

HamacherSum

Bases: SNorm

SNorm to compute the Hamacher sum of any two values.

Equation

\(a \oplus b=\dfrac{a+b-2(\times a \times b)}{1-a\times b}\)

related

Functions

compute

compute(a: Scalar, b: Scalar) -> Scalar

Compute the Hamacher sum of two membership function values.

Parameters:

Name Type Description Default
a Scalar

membership function value

required
b Scalar

membership function value

required

Returns:

Type Description
Scalar

\(a \oplus b=\dfrac{a+b-2(\times a \times b)}{1-a\times b}\)