staircase.Stairs.logical_rand¶
- Stairs.logical_rand(other)¶
Returns a boolean-valued step function indicating where self and other are non-zero.
Equivalent to other & self. See examples below.
- Parameters
- otherint, float, or
Stairs
- otherint, float, or
- Returns
Stairs
new instance representing the result of other & self
See also
Examples