Function Reference: hamacher_product

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

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

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

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

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