Function Reference: bounded_sum

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

Return the bounded sum of the input. The bounded sum of two real scalars x and y is: min (1, x + y)

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

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