Racine carrée inverse numpy
import numpy as np
arr = np.random.uniform(0, 1, 10000)
#Inverse Square Root
1 / np.sqrt(arr)
Active Programmer
import numpy as np
arr = np.random.uniform(0, 1, 10000)
#Inverse Square Root
1 / np.sqrt(arr)
import numpy
numpy.sqrt(16) # output: 4.0
'''numpy. sqrt(array[, out]) function is used to
determine the positive square-root of
an array, element-wise.'''