aerosandbox.numpy.logicals ========================== .. py:module:: aerosandbox.numpy.logicals Functions --------- .. autoapisummary:: aerosandbox.numpy.logicals.clip aerosandbox.numpy.logicals.logical_and aerosandbox.numpy.logicals.logical_or aerosandbox.numpy.logicals.logical_not aerosandbox.numpy.logicals.all aerosandbox.numpy.logicals.any Module Contents --------------- .. py:function:: clip(x, min, max) Clip a value to a range. :param x: Value to clip. :param min: Minimum value to clip to. :param max: Maximum value to clip to. Returns: .. py:function:: logical_and(x1, x2) Compute the truth value of x1 AND x2 element-wise. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.logical_and.html .. py:function:: logical_or(x1, x2) Compute the truth value of x1 OR x2 element-wise. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.logical_or.html .. py:function:: logical_not(x) Compute the truth value of NOT x element-wise. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.logical_not.html .. py:function:: all(a) Test whether all array elements along a given axis evaluate to True. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.all.html .. py:function:: any(a) Test whether any array element along a given axis evaluates to True. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.any.html