<Example Program>
Program sinh_example Real, Dimension(2,3) :: a Complex, Dimension(3) :: c a = Reshape( [ 0.0,0.2,-0.4,0.6,-1.2,5.7 ], [ 2,3 ]) c = [ (0.2,0.0),(0.5,-1.5707963),(5.7,1.5707963) ] Print 1, Sinh(a) 1 Format(6(2X,F0.5)) Print 2, Sinh(c) 2 Format(3(2X,'(',F0.5,',',F0.5,')')) End Program
Execution Results
.00000 .20134 -.41075 .63665 -1.50946 149.43199 (.20134,.00000) (.00000,-1.12763) (.00001,149.43535)