Octave Fuzzy Logic Toolkit: einstein_sum

### Function Reference: `einstein_sum`

Function File: retval = einstein_sum (x)
Function File: retval = einstein_sum (x, y)

Return the Einstein sum of the input. The Einstein sum of two real scalars x and y is: (x + y) / (1 + x * y)

For one vector argument, apply the Einstein sum to all of the elements of the vector. (The Einstein sum is associative.) For one two-dimensional matrix argument, return a vector of the Einstein sum of each column.

For two vectors or matrices of identical dimensions, or for one scalar and one vector or matrix argument, return the pairwise Einstein sum.

See also: algebraic_product, algebraic_sum, bounded_difference, bounded_sum, drastic_product, drastic_sum, einstein_product, hamacher_product, hamacher_sum