Post · 1 min read· p. 848

aerosandbox.numpy.arithmetic_monadic

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.

Module Contents

aerosandbox.numpy.arithmetic_monadic.sum(x, axis=None) : Sum of array elements over a given axis.

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

Parameters:
:   **axis** (*int*) –

aerosandbox.numpy.arithmetic_monadic.mean(x, axis=None) : Compute the arithmetic mean along the specified axis.

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

Parameters:
:   **axis** (*int*) –

aerosandbox.numpy.arithmetic_monadic.abs(x)

aerosandbox.numpy.arithmetic_monadic.prod(x, axis=None) : Return the product of array elements over a given axis.

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

Parameters:
:   **axis** (*int*) –