Function Reference: drastic_product

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

Return the drastic product of the input.

The drastic product of two real scalars x and y is:

     min (x, y)     if max (x, y) == 1
     0              otherwise
 

For one vector argument, apply the drastic product to all of the elements of the vector. (The drastic product is associative.) For one two-dimensional matrix argument, return a vector of the drastic 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 drastic product.

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