aerosandbox.numpy.conditionals ============================== .. py:module:: aerosandbox.numpy.conditionals Functions --------- .. autoapisummary:: aerosandbox.numpy.conditionals.where aerosandbox.numpy.conditionals.maximum aerosandbox.numpy.conditionals.minimum Module Contents --------------- .. py:function:: where(condition, value_if_true, value_if_false) Return elements chosen from x or y depending on condition. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.where.html .. py:function:: maximum(x1, x2) Element-wise maximum of two arrays. Note: not differentiable at the crossover point, will cause issues if you try to optimize across a crossover. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.maximum.html .. py:function:: minimum(x1, x2) Element-wise minimum of two arrays. Note: not differentiable at the crossover point, will cause issues if you try to optimize across a crossover. See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.minimum.html