OSDN Git Service

88cc68af76e6c05d6bc30c91d0e980ed71385693
[linuxjm/LDP_man-pages.git] / original / man3 / cproj.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CPROJ 3 2013-09-18 "" "Linux Programmer's Manual"
8 .SH NAME
9 cproj, cprojf, cprojl \- project into Riemann Sphere
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .sp
13 .BI "double complex cproj(double complex " z ");"
14 .br
15 .BI "float complex cprojf(float complex " z ");"
16 .br
17 .BI "long double complex cprojl(long double complex " z ");"
18 .sp
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 These functions project a point in the plane onto the surface of a
22 Riemann Sphere, the one-point compactification of the complex plane.
23 Each finite point
24 .I z
25 projects to
26 .I z
27 itself.
28 Every complex infinite value is projected to a single infinite value,
29 namely to positive infinity on the real axis.
30 .SH VERSIONS
31 These functions first appeared in glibc in version 2.1.
32 .SH ATTRIBUTES
33 .SS Multithreading (see pthreads(7))
34 The
35 .BR cproj (),
36 .BR cprojf (),
37 and
38 .BR cprojl ()
39 functions are thread-safe.
40 .SH CONFORMING TO
41 C99.
42 .SH NOTES
43 In glibc 2.11 and earlier, the implementation does something different
44 (a
45 .I stereographic
46 projection onto a Riemann Sphere).
47 .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401
48 .SH SEE ALSO
49 .BR cabs (3),
50 .BR complex (7)
51 .SH COLOPHON
52 This page is part of release 3.78 of the Linux
53 .I man-pages
54 project.
55 A description of the project,
56 information about reporting bugs,
57 and the latest version of this page,
58 can be found at
59 \%http://www.kernel.org/doc/man\-pages/.