Functional programmingΒΆ

cupy.piecewise

Evaluate a piecewise-defined function.