aerosandbox.numpy.arithmetic_monadic#

Module Contents#

Functions#

sum(x[, axis])

Sum of array elements over a given axis.

mean(x[, axis])

Compute the arithmetic mean along the specified axis.

abs(x)

prod(x[, axis])

Return the product of array elements over a given axis.

aerosandbox.numpy.arithmetic_monadic.sum(x, axis=None)[source]#

Sum of array elements over a given axis.

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

Parameters:

axis (int) –

aerosandbox.numpy.arithmetic_monadic.mean(x, axis=None)[source]#

Compute the arithmetic mean along the specified axis.

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

Parameters:

axis (int) –

aerosandbox.numpy.arithmetic_monadic.abs(x)[source]#
aerosandbox.numpy.arithmetic_monadic.prod(x, axis=None)[source]#

Return the product of array elements over a given axis.

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

Parameters:

axis (int) –