CSIN(3) Linux Programmer's Manual CSIN(3)NAME
csin, csinf, csinl - complex sine function
SYNOPSIS
#include <complex.h>
double complex csin(double complex z);
float complex csinf(float complex z);
long double complex csinl(long double complex z);
Link with -lm.
DESCRIPTION
The complex sine function is defined as:
csin(z) = (exp(i * z) - exp(-i * z)) / (2 * i)
VERSIONS
These functions first appeared in glibc in version 2.1.
CONFORMING TO
C99.
SEE ALSO cabs(3), casin(3), ccos(3), ctan(3), complex(7)COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2008-08-11 CSIN(3)
Check Out this Related Man Page
CSIN(3) Linux Programmer's Manual CSIN(3)NAME
csin, csinf, csinl - complex sine function
SYNOPSIS
#include <complex.h>
double complex csin(double complex z);
float complex csinf(float complex z);
long double complex csinl(long double complex z);
Link with -lm.
DESCRIPTION
These functions calculate the complex sine of z.
The complex sine function is defined as:
csin(z) = (exp(i * z) - exp(-i * z)) / (2 * i)
VERSIONS
These functions first appeared in glibc in version 2.1.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+-------------------------+---------------+---------+
|Interface | Attribute | Value |
+-------------------------+---------------+---------+
|csin(), csinf(), csinl() | Thread safety | MT-Safe |
+-------------------------+---------------+---------+
CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008.
SEE ALSO cabs(3), casin(3), ccos(3), ctan(3), complex(7)COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
2017-09-15 CSIN(3)
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)
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)
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)
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)
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)
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)
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)