Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cimag(3) [redhat man page]

CIMAG(3)                                                     Linux Programmer's Manual                                                    CIMAG(3)

NAME
cimag, cimagf, cimagl - get imaginary part of a complex number SYNOPSIS
#include <complex.h> double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z); Link with -lm. DESCRIPTION
These functions return the imaginary part of the complex number z. One has: z = creal(z) + I * cimag(z) 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 | +----------------------------+---------------+---------+ |cimag(), cimagf(), cimagl() | Thread safety | MT-Safe | +----------------------------+---------------+---------+ CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. NOTES
gcc also supports __imag__. That is a GNU extension. SEE ALSO
cabs(3), creal(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/. 2015-04-19 CIMAG(3)

Check Out this Related Man Page

CIMAG(3)						     Linux Programmer's Manual							  CIMAG(3)

NAME
cimag, cimagf, cimagl - get imaginary part of a complex number SYNOPSIS
#include <complex.h> double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z); Link with -lm. DESCRIPTION
These functions return the imaginary part of the complex number z. One has: z = creal(z) + I * cimag(z) 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 | +----------------------------+---------------+---------+ |cimag(), cimagf(), cimagl() | Thread safety | MT-Safe | +----------------------------+---------------+---------+ CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. NOTES
gcc also supports __imag__. That is a GNU extension. SEE ALSO
cabs(3), creal(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/. 2015-04-19 CIMAG(3)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Awk Script Counting of Correct vs. Error Responses

Hello, I have been trying to use an awk script to parse out correct and incorrect answers in a simple tab-delimited text file. I am trying to compare the user's response to the stimulus presented (in this case, an arrow pointing left or right; e.g., "<--" vs. "-->"). I have the data for the... (6 Replies)
Discussion started by: Jahn
6 Replies

2. Shell Programming and Scripting

Help with AWK script please

Hello All, I am working on a code with my adviser,but have run into some problems. I was wondering: Can anyone see what I am doing wrong and/or point me in the right direction. I have an experiment where objects are presented in a circular display, and rotate clockwise or counter depending on... (4 Replies)
Discussion started by: jgeller1
4 Replies

3. Programming

libcvd install problem

Hi I'm trying to install libcvd libraries (running Ubuntu 10.10) but get errors, I guesss its saying I miss dc1394v1 and ffmpeg. Altough when looking in synaptic manager I appear to have ffmpeg and libdc1394 (version 2). When I do ./config, after all the checks, I get: Options:... (3 Replies)
Discussion started by: mdop
3 Replies

4. Shell Programming and Scripting

Perl:: mass replacement of converting C code formats to tgmath.h

hello, i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc usually for simple bulk replacements i would do something simple like this perl -pi -e 's/cosl/cos/g' *.c the reference... (0 Replies)
Discussion started by: f77hack
0 Replies

Featured Tech Videos