COMPLEX(3) BSD Library Functions Manual COMPLEX(3)NAME
complex -- complex floating-point functions
DESCRIPTION
The following functions are complex floating-point values, as arguments and return values. Some use single-precision complex values and some
use double-precision complex values, as indicated. The functions conform to the ISO/IEC 9899:1999(E) standard. The function prototypes can be
found in the header file complex.h.
To use these functions you must add an additional flag to the link step that produces the executable binary. Specify "-lmx".
These are the functions that use single-precision complex values:
cabsf()
cacosf()
cacoshf()
cargf()
casinf()
casinhf()
catanf()
catanhf()
ccosf()
ccoshf()
cexpf()
cimagf()
clogf()
conjf()
cpowf()
cprojf()
crealf()
csinf()
csinhf()
csqrtf()
ctanf()
ctanhf()
These are the functions that use double-precision complex values:
cabs()
cacos()
cacosh()
carg()
casin()
casinh()
catan()
catanh()
ccos()
ccosh()
cexp()
cimag()
clog()
conj()
cpow()
cproj()
creal()
csin()
csinh()
csqrt()
ctan()
ctanh()
BSD August 15, 2003 BSD
Check Out this Related Man Page
CACOS(3) BSD Library Functions Manual CACOS(3)NAME
cacos, cacosf, cacosh, cacoshf, casin, casinf casinh, casinhf catan, catanf catanh, catanhf -- complex arc trigonometric and hyperbolic func-
tions
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <complex.h>
double complex
cacos(double complex z);
float complex
cacosf(float complex z);
double complex
cacosh(double complex z);
float complex
cacoshf(float complex z);
double complex
casin(double complex z);
float complex
casinf(float complex z);
double complex
casinh(double complex z);
float complex
casinhf(float complex z);
double complex
catan(double complex z);
float complex
catanf(float complex z);
double complex
catanh(double complex z);
float complex
catanhf(float complex z);
DESCRIPTION
The cacos(), casin(), and catan() functions compute the principal value of the inverse cosine, sine, and tangent of the complex number z,
respectively. The cacosh(), casinh(), and catanh() functions compute the principal value of the inverse hyperbolic cosine, sine, and tan-
gent. The cacosf(), casinf(), catanf() cacoshf(), casinhf(), and catanhf() functions perform the same operations in float precision.
There is no universal convention for defining the principal values of these functions. The following table gives the branch cuts, and the
corresponding ranges for the return values, adopted by the C language.
Function Branch Cut(s) Range
cacos (-infinity, -1) U (1, infinity) [0, pi]
casin (-infinity, -1) U (1, infinity) [-pi/2, pi/2]
catan (-infinity*I, -i) U (I, infinity*I) [-pi/2, pi/2]
cacosh (-infinity, 1) [-pi*I, pi*I]
casinh (-infinity*I, -i) U (I, infinity*I) [-pi/2*I, pi/2*I]
catanh (-infinity, -1) U (1, infinity) [-pi/2*I, pi/2*I]
SEE ALSO ccos(3), ccosh(3), complex(3), cos(3), math(3), sin(3), tan(3)STANDARDS
These functions conform to ISO/IEC 9899:1999 (``ISO C99'').
BSD May 27, 2013 BSD
I need to your help. I want write a script search for rows in file1 if exist in file2 it will print rows from file2 else it will print rows from file1 with out any duplicate
... (4 Replies)
hi im trying to conjuct two expresssion , but not getting the exact result i need..
i want to conjuct
1) awk < /etc/passwd 'NR >15' and
2)awk < /etc/passwd '!/8niaz/'
how will i execute , so it will start printing from the 16th line and will omit the lines which include '8niaz'.
... (1 Reply)
Hi Gurus,
I have prepared a script to find the log file based on a date range defined in one of the environment files, archive the logs files and move them to a particular directory.
Below is the script:
. /home/.profile
. /home/.inf_env
logfile=$scripts_path/Logs/file_archive1.log... (17 Replies)
Hi, so I have been trying to write a shell script to go through a log file and through that, generate another file with all the Valid IP addresses it finds. So there's the complication that there could be incomplete or invalid data which would disqualify it from making my "Valid IPs" file I need... (3 Replies)
I got rather bored so i decided to create a script that creates a countdown, and shows hours:minutes:seconds till that time.
It works fine until the seconds of the actual time reaches 8, then it tries to use it to work out the difference as in "SECONDDIFF=$"
Here's my code where I get the... (12 Replies)
hi,
if I exectute "nohup time ls -1" I get the following output
$ nohup time ls -1
file_1
file_2
file_3
file_4
file_5
0.000u 0.001s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
This is all OK.
But if I want to capture this whole output in to a text file I would want to use something like
... (1 Reply)
Excuses for the long descriptive title.
I am working with Sindhi and developing a database of all verbal conjugations in that language.
I have generated 2 files:
Verbs.dic contains all the verbs, one verb per line
Inflections.dic contains the verbal conjugations which need to be appended to... (6 Replies)