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

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

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

For two vectors or matrices of identical dimensions, or for one scalar and one vector or matrix argument, return the pair-wise Einstein product.

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

Package: fuzzy-logic-toolkit