Articles → Numpy → Sqrt Function In Numpy

Sqrt Function In Numpy






Purpose





Example


import numpy as np

arr = [1,4,9,16]


print(np.sqrt(np.array(arr)))



Output


Picture showing the output of Sqrt function in NumPy
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, April 2, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250