Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

csinf(3) [opendarwin man page]

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
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem using bash case statement

I have the following bash script and it is not accepting the lines "--"|"--""-") "--""-"") while do echo "Current Argument is ${1}" case "$1" in "--"|"--""-") echo "Argument is ${1}" shift # Skip ahead one to the next argument. ... (1 Reply)
Discussion started by: kristinu
1 Replies

2. Shell Programming and Scripting

Reading command line options from bash script

I have the following code and I am calling it using ./raytrac.bash -u and getting problems. For some reason opt_usage is still 0. opt_usage=0 iarg=0 narg=$# while (($iarg < $narg)) do (( iarg = $iarg + 1 )) arg=$argv usrInputFlag=`echo $arg | awk '/=/ {print 1}; ! /=/... (22 Replies)
Discussion started by: kristinu
22 Replies

3. Shell Programming and Scripting

Automatically determining directory path for scripts and programs

I have some C++ code in the following directory structure /home/chrisd/tatsh/trunk/hstmy/ ├── baseLib ├── bin │ ├── awk │ ├── bash │ ├── diag │ ├── ksh │ │ └── TAG201011 │ ├── old │ ├── perl │ ├── prog │ ├── py │ └── tcsh ├── docs ├── fortran ├── others... (0 Replies)
Discussion started by: kristinu
0 Replies

4. Shell Programming and Scripting

Bash if statements in one line

I have the following bash code, and wondering if it is possible (and a good idea) to write the if statements in one line. # Run raytrac on the sound speed model. if ; then $bashPath/raytrac.bash -fcmd=$fcmd.cmd fi # Plot the travel times and ray paths. if ; then ... (8 Replies)
Discussion started by: kristinu
8 Replies

5. Shell Programming and Scripting

Improving code by using associative arrays

I have the following code, and I am changing it to #!/bin/bash hasArgumentCModInfile=0 hasArgumentSrcsInfile=0 hasArgumentRcvsInfile=0 OLDIFS="$IFS" IFS="|=" # IFS controls splitting. Split on "|" and "=", not whitespace. set -- $* # Set the positional... (3 Replies)
Discussion started by: kristinu
3 Replies

6. Shell Programming and Scripting

Using arrays in bash using strings to bash built-in true

I have the following code and for some reason when I call the program using /home/tcdata/tatsh/trunk/hstmy/bin/bash/raytrac.bash --cmod=jcdint.cmod I get hasArgument = hasArgument = true Somehow the array element is returning even though I have not chosen the option. ... (41 Replies)
Discussion started by: kristinu
41 Replies

7. Shell Programming and Scripting

"awk date" help please

first of all i must say i am new in shell, awk programming, so this question may be so easy but i didn't do it. i have a list like above; Sep06 10:03 C Sep06 10:05 C Oct04 16:52 SM Jun03 22:56 S Jul17 15:57 S Aug03 12:19 S Aug03 12:23 S Jul03 14:05 S i want to get... (2 Replies)
Discussion started by: Ercan Çıanr
2 Replies

8. UNIX for Dummies Questions & Answers

Bash script

Hi, I need a little help to change the code at the bottom. I must get "hostname" and "sessionNumbers" in one statement. So, i need to assign "substr( $5, length($5) )" to "sessionNumbers" in first awk code part. But i don't know, how can i do this. Is this possible? sessionNumbers=substr( $5,... (4 Replies)
Discussion started by: Ercan Çıanr
4 Replies

9. Shell Programming and Scripting

Regex not working

I am using a regex to exactly match a string abcdef as ^abcdef$. But it does'nt seem to work :( (11 Replies)
Discussion started by: gaurav99
11 Replies