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
Hi,
I have a file that I would like to translate using sed.
I can do some basic sed commands, but Im afraid this level is beyond me.
I have this file -
...alter...
..
...65536...
...
...65536...
...
...alter...
...
...65536...
etc
What I would like to do is replace the first... (11 Replies)
Please help, I am new to shell Programming. I have three files each containg a unique text (key) field (e.g. ABCDEF, XCDUD as shown below), line return followed by some data of which there can be more then one instance. In addition, in some cases there may be no data but only a key field. Please... (18 Replies)
Hi,
Can someone here help sorting the following data in numeric order?
INPUT:
FIRST abc(3) def(13) fgh(1) ijk(6) abc(2)
SECOND dfe(10) abc(4) hij(19) tlm(1) hij(1) hub(10) abc(1) fed(3)
OTHERS hij(10) mok(4) bub(19) hij(1) abc(2) abc(15) abc(1) hij(3)
OUTPUT:
FIRST def(13) ijk(6)... (12 Replies)
Hello,
I am new to sed and hope that someone can help me with the following task.
I need to modify a txt file which has format like this:
xy=CreateDB|head.queue|head.source|head.definition|rtf.edit|rtf.task|rft.cut
abc|source|divine|line4|5|true
into something like:
head.queue=abc... (19 Replies)
if input1 1st row labels (S1or S2 or S3 or any (actually so many in original text file)) are similar to 1st column of input2 i.e "ID" merge them together based on input1 1st row labels.
for example take S1.....
input1
"aphab" "S1" "S2" "S3"
"a" "A/A" "A/A" "A/A"
"b" ... (19 Replies)
I don't know if this is a big issue or not, but I'm having difficulties. I apoligize for the upcoming essay :o.
I'm writing a script, similar to a paint program that edits images, but in the form of ANSI block characters. The program so far is working. I managed to save the image into a file,... (14 Replies)
picked this up from another thread.
echo 1st_file.csv; nawk -F, 'NR==FNR{a++;next} a{b++}
END{for(i in b){if(b-1&&a!=b){print i";\t\t"b}else{print "NEW:"i";\t\t"b} } }' OFS=, 1st_file.csv *.csv | sort -r
i need to use the above but with a slight modification..
1.compare against 3 month... (25 Replies)
Hello to all in forum,
Maybe an awk expert could help me with this complex task for me.
I have the input shown below and I would like to get the output as follow:
- I would like the output separated by commas.
- The header is fixed and will be the same always.
- For the lines containing... (22 Replies)
I have 1.6 GB (and growing) of files with needed data between the 11th and 34th line (inclusive) of the second column of comma delimited files. There is also a lot of stray white space in the file that needs to be trimmed. They have DOS-like end of lines.
I need to transpose the 11th through... (13 Replies)
Dear All,
I am having a requirement to find the difference between 2 files and generate a discrepancy report out of it as an html page. I prefer using diff -y file1 file2 since it gives user friendly layout to know any discrepancy in the record and unique records among the 2 file. Here's how it... (12 Replies)
Hi,
I have a file with complex data without delimiter, have requirement to fetch the specific record based on some charcters.
here is my file data
... (12 Replies)
Hello,
I hope someone can hep with this. I use a skript to send multiline Data to a Monitoring system. Bu I'm not able to use linebreaks or escape sequences.
The skript is simple like that:
#!/bin/bash
var="Erste Zeile \n zweite Zeile \n Dritter Teil"
zabbix_sender -c... (17 Replies)
I have two networks
192.168.0.0/24 which is my home network
10.2.0.0/24 which is the second network dedicated to vm's
Without firewall I can ping all networks without problems
Client System is : Slackware 14.2 with ip 192.168.0.2
Server is OmniOS with ip 10.2.0.1(vnic) and 192.168.0.30... (13 Replies)