This function is used to calculate the hyperbolic inverse sine of the array elements.
numpy.arcsinh(array[,out] )
An array containing hyperbolic inverse sine values are returned.
import numpy as np import math arr = np.array([0, math.pi/4, 3*math.pi/2, math.pi/6]) print("Input Array:",arr) print("tanh Array:",end=" ") arcsinharr = np.arcsinh(arr) print(arcsinharr)
Output: