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 am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts.
Having a problem. I can start Apache Web Server with no problems.
Why do I put the static and dynamic scripts? I which directory?
I have looked at this article:... (3 Replies)
Hello all, I am a complete newbie to Unix and therefor also to this forum. I have an assignment for Uni, and need your help to understand something.
I need to use crontab and tar to schedule a weekly backup of a folder and its contents. I want the tarball to be stored in the users/float... (6 Replies)
Hi,
I have downloaded Audio::Beep. I tried to install it through CPAN but i got YAML error. Then I have tried to install it manually. I tried all the instructions provided in README file. It worked but when i am compiling , it still gives me error:
# ls
acct21.pl~ imap(2).pl ... (15 Replies)
Hi,
When I do ps -ef | grep java I get the following output on my server, But how to get just the last line and the pid....something like:-
wasadmin@ccos2104:TEST:bin> ps -ef | grep java
wasadmin 5935 54288 0 12:39 pts/8 00:00:00 grep java
ccos2104Cell ccos2104 aa
... (2 Replies)
I posted last week about how the find command (known to be slow to begin with), is slowing down by 75x on a windows remote share.
Do awk or Perl have the capability to find files (pretty sure the answer for Perl is yes). I want to duplicate find "$dataDir" -type d -name '*.aps' (recursive... (10 Replies)
Hello,
we have more than 100000 files in a directory which are write-protected regular file, these files are quite old and would like to delete them completely, Kindly let me know the command or peice of code to automate the process.
The filenames are like below
MPNT_... (6 Replies)
Hi,
Please help.
I created a ZFS pool on Solaris 11.3 (thunder) and shared it using NFS (storage).
But when I connect from my Mac without credentials I can't write to the share,I assume I have to make the share public but can't figure out the syntax,please help.
Also the pool is for... (6 Replies)
Folks,
Solaris 10 issue
When I add a new directory to a path, I only get the "group@" line in the ACL
The parent directory ACL is
drwxrws---+ 12 root teama 12 Jul 18 10:31 .
owner@:rwxp-DaARWc---:------:allow
group@:rwxp-DaARWc--s:fd----:allow
... (0 Replies)
Hi
I want to create a shell script with the following awk command & also get the filenames in output.
awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' *.xml
As there will be multiple outputs related to many xml files I cannot identify which output belongs to which file
... (5 Replies)
To bakunin and corona688:
My result when text in file is
ms_ww_546
ms_rrL_99999
ms_nnn_67_756675
is
https://www.unix.com/C:\Users\Fejoz\Desktop\ttt.jpg
I hope you can see the picture. There is like a "whitespace character" after 2 of the 3 created directories.
---------- Post... (0 Replies)
I am getting this error:
Can't locate loadable object for module IO::Tty in @INC (@INC contains: /production/79p/perl5/lib/site_perl/5.28.0/x86_64-linux /production/79p/perl5/lib/site_perl/5.28.0 /production/79p/perl5/lib/5.28.0/x86_64-linux /production/79p/perl5/lib/5.28.0... (2 Replies)