Numpy tanh()This function is used to calculate the hyperbolic tangent for all the elements of the array passed as the argument. SyntaxParameters
ReturnAn array with trigonometric tangent sins are returned. ExampleOutput: Input Array: [0. 0.78539816 4.71238898 0.52359878] tanh Array: [0. 0.6557942 0.99983861 0.48047278] Next TopicNumpy trunc() |