CTANH(3) BSD Library Functions Manual CTANH(3)NAME
ctanh -- complex hyperbolic tangent function
SYNOPSIS
double complex
ctanh(double complex z);
long double complex
ctanhl(long double complex z);
float complex
ctanhf(float complex z);
DESCRIPTION
ctanh(z) computes the hyperbolic tangent of the complex floating-point number z.
For all complex floating point numbers z,
ctanh(conj(z)) = conj(ctanh(z)),
ctanh(-z) = -ctanh(z).
SPECIAL VALUES
The symmetries of ctanh() are used to abbreviate the specification of special values.
ctanh(0 + 0i) returns 0 + 0i.
ctanh(0 + inf i) returns NaN + NaN i, and raises the invalid flag.
ctanh(0 + NaN i) returns NaN + NaN i.
ctanh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x.
ctanh(x + NaN i) returns NaN + NaN i, for finite nonzero x.
ctanh(inf + 0i) returns 1 + 0i.
ctanh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign chosen to match the sign of sin(2y).
ctanh(inf + inf i) returns 1 + 0i.
ctanh(inf + NaN i) returns 1 + 0i.
ctanh(NaN + 0i) returns NaN + 0i.
ctanh(NaN + yi) returns NaN + NaN i, for nonzero numbers y.
ctanh(NaN + NaN i) returns NaN + NaN i.
NOTES SEE ALSO ctan(3)complex(3)STANDARDS
The ctanh() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution
Check Out this Related Man Page
CATANH(3) BSD Library Functions Manual CATANH(3)NAME
catanh -- complex inverse hyperbolic tangent function
SYNOPSIS
double complex
catanh(double complex z);
long double complex
catanhl(long double complex z);
float complex
catanhf(float complex z);
DESCRIPTION
catanh(z) computes the inverse hyperbolic tangent of the complex floating-point number z, with branch cuts outside the interval [-1, 1] along
the real axis.
catanh() returns values in a strip of the complex plane with imaginary part in the interval [-Pi/2, Pi/2].
For all complex floating point numbers z,
catanh(conj(z)) = conj(catanh(z)).
catanh(-z) = -catanh(z)
SPECIAL VALUES
The symmetries of catanh() are used to abbreviate the specification of special values.
catanh(0 + 0i) returns 0 + 0 i.
catanh(0 + NaN i) returns 0 + NaN i.
catanh(1 + 0i) returns inf + 0i and raises the divide-by-zero flag.
catanh(x + inf i) returns 0 + Pi/2 i, for finite positive-signed x.
catanh(x + NaN i) returns NaN + NaN i, for non-zero finite x.
catanh(inf + yi) returns 0 + Pi/2 i, for finite positive-signed y.
catanh(inf + inf i) returns 0 + Pi/2 i.
catanh(inf + NaN i) returns 0 + NaN i.
catanh(NaN + yi) returns NaN + NaN i, for finite y.
catanh(NaN + inf i) returns 0 + Pi/2 i.
catanh(NaN + NaN i) returns NaN + NaN i.
NOTES SEE ALSO ctanh(3)complex(3)STANDARDS
The catanh() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution
Hi,
I have a file that looks like this (tab seperated):
Barry -3 -4 -5 -10 -4 6 -8 20 -6 NaN NaN NaN
Brend -2 4 -3 -7 -3 8 -9 -10 -6 NaN NaN NaN NaN NaN
Harry -10 -9 -40 6 -7 3 -7 -2 -5 NaN NaN NaN NaN NaN NaN NaN
I want to print the first column... (4 Replies)
Hello,
I am pasting two tables of 6x4 and 4x4 together to get a 10x8 output. I want to fill the blank values with a NaN (Not a Number). How can I do this?
Thanks,
Guss (3 Replies)
I have rrd file which is have the gaps and I want to fill it out with some value , I've got 10 NaN record and I try to populate data from 10 records be for NaN to change instead of NaN :(
<!-- 2016-05-19 14:10:00 CST / 1463638200 -->... (11 Replies)
Hello, I will like to delete/replace $3 with NaN. condition $3>-2000 (file1.dat) to produce out.dat. I want to retain the structure of the table. I use this code, this output only $3. Any idea on how to modify this code. Thank you.
awk -v OFS='' '{for(i=1; i<=NF; i++) if ($i > -2000 || $i ==" >... (4 Replies)