| 64 | } |
| 65 | |
| 66 | inline double atanh(double x) |
| 67 | { |
| 68 | /* This definition is different from that in NumPy 1.3 and follows |
| 69 | the convention of MatLab. This will allow for double checking both |
| 70 | approaches. */ |
| 71 | return 0.5*log((1.0+x)/(1.0-x)); |
| 72 | } |
| 73 | |
| 74 | |
| 75 | // Single precision versions |
no outgoing calls
no test coverage detected
searching dependent graphs…