aerosandbox.numpy.arithmetic_dyadic#

Module Contents#

Functions#

_make_casadi_types_broadcastable(x1, x2)

add(x1, x2)

multiply(x1, x2)

mod(x1, x2)

Return element-wise remainder of division.

centered_mod(x1, x2)

Return element-wise remainder of division, centered on zero.

aerosandbox.numpy.arithmetic_dyadic._make_casadi_types_broadcastable(x1, x2)[source]#
aerosandbox.numpy.arithmetic_dyadic.add(x1, x2)[source]#
aerosandbox.numpy.arithmetic_dyadic.multiply(x1, x2)[source]#
aerosandbox.numpy.arithmetic_dyadic.mod(x1, x2)[source]#

Return element-wise remainder of division.

See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.mod.html

aerosandbox.numpy.arithmetic_dyadic.centered_mod(x1, x2)[source]#

Return element-wise remainder of division, centered on zero.

See syntax here: https://numpy.org/doc/stable/reference/generated/numpy.mod.html