Hi,
¯4○ is supposed to be equal to 5○¯6○. While trying to
check this on GNU APL, I noticed your ARCCOSH gives a
domain error on my vector.
⎕IO←0
X←1D45*⍳8
8 1⍴¯6○X
DOMAIN ERROR
8 1⍴¯6○X
^ ^
APL2 returns the answer. If I write my own ARCCOSH...
∇
[0] Z←ARCCOSH X
[1] Z←(X+1)⋆0.5
[2] Z←Z×(X-1)⋆0.5
[3] Z←X+Z
[4] Z←⍟Z
∇
8 1⍴ARCCOSH X
0
7.642854597E¯1J9.989374566E¯1
8.81373587E¯1J1.570796327E0
7.642854597E¯1J2.142655197E0
3.814090015E¯8J3.141592615E0
7.642854597E¯1J¯2.142655197E0
8.81373587E¯1J¯1.570796327E0
7.642854597E¯1J¯9.989374566E¯1
Then I get a result, which agrees with APL2 to a few decimal
places in most places.