0% found this document useful (0 votes)
23 views1 page

Numpy Built in Math Function

The document outlines three built-in math functions in Numpy: sum, prod, and sqrt. The sum function returns the total of all elements in an array, prod returns the product of all elements, and sqrt computes the square root of each element in the array. For more details, it references the Numpy documentation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

Numpy Built in Math Function

The document outlines three built-in math functions in Numpy: sum, prod, and sqrt. The sum function returns the total of all elements in an array, prod returns the product of all elements, and sqrt computes the square root of each element in the array. For more details, it references the Numpy documentation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Numpy Built in Math Functions

• sum(arr) – Returns sum of all the elements in the array arr.


• prod(arr) – Returns product of all the elements in the array arr.
• sqrt(arr) – Returns square root value of each element in the array arr.

https://docs.scipy.org/doc/numpy-1.13.0/reference/routines.math.html

You might also like