]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
38f20bb9 | 3 | .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) |
fea681da | 4 | .\" Distributed under GPL |
38f20bb9 | 5 | .\" %%%LICENSE_END |
fea681da | 6 | .\" |
c73595c2 | 7 | .TH CPROJ 3 2015-04-19 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | cproj, cprojf, cprojl \- project into Riemann Sphere | |
10 | .SH SYNOPSIS | |
11 | .B #include <complex.h> | |
68e4db0a | 12 | .PP |
fea681da | 13 | .BI "double complex cproj(double complex " z ");" |
d39541ec | 14 | .br |
fea681da | 15 | .BI "float complex cprojf(float complex " z ");" |
d39541ec | 16 | .br |
fea681da | 17 | .BI "long double complex cprojl(long double complex " z ");" |
68e4db0a | 18 | .PP |
20c58d70 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
2d6c69df | 21 | These functions project a point in the plane onto the surface of a |
fea681da | 22 | Riemann Sphere, the one-point compactification of the complex plane. |
e5056894 MK |
23 | Each finite point |
24 | .I z | |
25 | projects to | |
26 | .I z | |
27 | itself. | |
fea681da MK |
28 | Every complex infinite value is projected to a single infinite value, |
29 | namely to positive infinity on the real axis. | |
f0d7ce1d MK |
30 | .SH VERSIONS |
31 | These functions first appeared in glibc in version 2.1. | |
1e505247 | 32 | .SH ATTRIBUTES |
3f1fe439 MK |
33 | For an explanation of the terms used in this section, see |
34 | .BR attributes (7). | |
35 | .TS | |
36 | allbox; | |
37 | lbw27 lb lb | |
38 | l l l. | |
39 | Interface Attribute Value | |
40 | T{ | |
1e505247 PH |
41 | .BR cproj (), |
42 | .BR cprojf (), | |
1e505247 | 43 | .BR cprojl () |
3f1fe439 MK |
44 | T} Thread safety MT-Safe |
45 | .TE | |
47297adb | 46 | .SH CONFORMING TO |
9a74e018 | 47 | C99, POSIX.1-2001, POSIX.1-2008. |
19c98696 | 48 | .SH NOTES |
ca90d3f8 | 49 | In glibc 2.11 and earlier, the implementation does something different |
022671eb MK |
50 | (a |
51 | .I stereographic | |
52 | projection onto a Riemann Sphere). | |
ca90d3f8 | 53 | .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401 |
47297adb | 54 | .SH SEE ALSO |
fea681da | 55 | .BR cabs (3), |
a8bda636 | 56 | .BR complex (7) |