Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

conj(3) [freebsd 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

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

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

conjunction two files

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)
Discussion started by: kmuqalled
4 Replies

2. Shell Programming and Scripting

how can i conjunct two expression in one line in awk?

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)
Discussion started by: niyas_gk
1 Replies

3. Shell Programming and Scripting

Missing conjunction

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)
Discussion started by: svajhala
17 Replies

4. Shell Programming and Scripting

How to go about Using a "Validate an IP script" in conjunction with Logfile?

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)
Discussion started by: shellcow
3 Replies

5. Shell Programming and Scripting

Problem with date in conjunction with cut?

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)
Discussion started by: DuskFall
12 Replies

6. UNIX for Dummies Questions & Answers

Nohup in conjunction with time

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)
Discussion started by: BearCheese
1 Replies

7. Shell Programming and Scripting

Find command "mssing conjuction error"

Hi , I am executing command find /LOG_RECV -type f -mtime +100 ! -name flag_\* \ ! -path "/LOG_RECV/CPCN/DOC/*" \ ! -path "/LOG_RECV/PRIS/DOC/*" \ ! -path "/LOG_RECV/EDI/R000??/EDI*/" \ ... (3 Replies)
Discussion started by: Jcpratap
3 Replies

8. Shell Programming and Scripting

Creating a master file of conjugated verbs by concatenating root and inflection from separate files

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)
Discussion started by: gimley
6 Replies