staircase.Stairs.logical_xor#

Stairs.logical_xor(other)#

Returns a boolean-valued step function indicating where self xor other are non-zero.

Equivalent to self ^ other. See examples below.

Parameters
otherint, float, or Stairs
Returns
Stairs

new instance representing the result of self ^ other

Examples

../../_images/staircase-Stairs-logical_xor-1.png