copapy.maximum#

copapy.maximum(x, y)#
Overloads:
  • x (U), y (U) → U

  • x (value[U]), y (U | value[U]) → value[U]

  • x (U | value[U]), y (value[U]) → value[U]

  • x (vector[U]), y (U | value[U] | vector[U]) → vector[U]

  • x (U | value[U] | vector[U]), y (vector[U]) → vector[U]

  • x (tensor[U]), y (U | value[U] | tensor[U]) → tensor[U]

  • x (U | value[U] | tensor[U]), y (tensor[U]) → tensor[U]

Maximum function to get the larger of two values.

Parameters:
  • x (TypeVar(U, int, float) | value[TypeVar(U, int, float)] | vector[TypeVar(U, int, float)] | tensor[TypeVar(U, int, float)]) – First value

  • y (TypeVar(U, int, float) | value[TypeVar(U, int, float)] | vector[TypeVar(U, int, float)] | tensor[TypeVar(U, int, float)]) – Second value

Returns:

Maximum of x and y