staircase.Stairs.logical_and#

Stairs.logical_and(other)#

Returns a boolean-valued step function indicating where self and 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_and-1.png