CIMAG(3) BSD Library Functions Manual CIMAG(3)NAME
cimag, cimagf, cimagl, conj, conjf, conjl, cproj, cprojf, cprojl, creal, crealf, creall -- functions to manipulate complex numbers
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <complex.h>
double
cimag(double complex z);
float
cimagf(float complex z);
long double
cimagl(long double complex z);
double complex
conj(double complex z);
float complex
conjf(float complex z);
long double complex
conjl(long double complex z);
double complex
cproj(double complex z);
float complex
cprojf(float complex z);
long double complex
cprojl(long double complex z);
double
creal(double complex z);
float
crealf(float complex z);
long double
creall(long double complex z);
DESCRIPTION
Let a+b*i denote the complex number z.
The creal() functions return the real part a, and the cimag() functions return the imaginary part b.
The conj() functions return the complex conjugate a-b*i.
The cproj() functions return the projection onto the Riemann sphere. If z contains an infinite component, then the result is infinity +-
0*i, where the (zero) imaginary part of the result has the same sign as b. Otherwise, the result is z.
These functions do not signal any floating point exceptions.
STANDARDS
The cimag(), conj(), cproj(), and creal() functions conform to ISO/IEC 9899:1999 (``ISO C99'').
HISTORY
The cimag(), conj() and creal() functions first appeared in FreeBSD 5.3. The cproj() functions appeared in FreeBSD 8.0.
BSD August 7, 2008 BSD
Check Out this Related Man Page
CIMAG(3) BSD Library Functions Manual CIMAG(3)NAME
cimag, cimagf, cimagl, conj, conjf, conjl, cproj, cprojf, cprojl, creal, crealf, creall -- functions to manipulate complex numbers
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <complex.h>
double
cimag(double complex z);
float
cimagf(float complex z);
long double
cimagl(long double complex z);
double complex
conj(double complex z);
float complex
conjf(float complex z);
long double complex
conjl(long double complex z);
double complex
cproj(double complex z);
float complex
cprojf(float complex z);
long double complex
cprojl(long double complex z);
double
creal(double complex z);
float
crealf(float complex z);
long double
creall(long double complex z);
DESCRIPTION
Let a+b*i denote the complex number z.
The creal() functions return the real part a, and the cimag() functions return the imaginary part b.
The conj() functions return the complex conjugate a-b*i.
The cproj() functions return the projection onto the Riemann sphere. If z contains an infinite component, then the result is infinity +-
0*i, where the (zero) imaginary part of the result has the same sign as b. Otherwise, the result is z.
These functions do not signal any floating point exceptions.
STANDARDS
The cimag(), conj(), cproj(), and creal() functions conform to ISO/IEC 9899:1999 (``ISO C99'').
HISTORY
The cimag(), conj() and creal() functions first appeared in FreeBSD 5.3. The cproj() functions appeared in FreeBSD 8.0.
BSD August 7, 2008 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)