]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
95fb8859 | 3 | .\" SPDX-License-Identifier: GPL-1.0-or-later |
fea681da | 4 | .\" |
4c1c5274 | 5 | .TH cproj 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
6 | .SH NAME |
7 | cproj, cprojf, cprojl \- project into Riemann Sphere | |
2af19291 AC |
8 | .SH LIBRARY |
9 | Math library | |
8fc3b2cf | 10 | .RI ( libm ", " \-lm ) |
fea681da | 11 | .SH SYNOPSIS |
c7db92b9 | 12 | .nf |
fea681da | 13 | .B #include <complex.h> |
68e4db0a | 14 | .PP |
fea681da | 15 | .BI "double complex cproj(double complex " z ");" |
fea681da | 16 | .BI "float complex cprojf(float complex " z ");" |
fea681da | 17 | .BI "long double complex cprojl(long double complex " z ");" |
c7db92b9 | 18 | .fi |
fea681da | 19 | .SH DESCRIPTION |
2d6c69df | 20 | These functions project a point in the plane onto the surface of a |
fea681da | 21 | Riemann Sphere, the one-point compactification of the complex plane. |
e5056894 MK |
22 | Each finite point |
23 | .I z | |
24 | projects to | |
25 | .I z | |
26 | itself. | |
fea681da MK |
27 | Every complex infinite value is projected to a single infinite value, |
28 | namely to positive infinity on the real axis. | |
f0d7ce1d MK |
29 | .SH VERSIONS |
30 | These functions first appeared in glibc in version 2.1. | |
1e505247 | 31 | .SH ATTRIBUTES |
3f1fe439 MK |
32 | For an explanation of the terms used in this section, see |
33 | .BR attributes (7). | |
c466875e MK |
34 | .ad l |
35 | .nh | |
3f1fe439 MK |
36 | .TS |
37 | allbox; | |
c466875e | 38 | lbx lb lb |
3f1fe439 MK |
39 | l l l. |
40 | Interface Attribute Value | |
41 | T{ | |
1e505247 PH |
42 | .BR cproj (), |
43 | .BR cprojf (), | |
1e505247 | 44 | .BR cprojl () |
3f1fe439 MK |
45 | T} Thread safety MT-Safe |
46 | .TE | |
c466875e MK |
47 | .hy |
48 | .ad | |
49 | .sp 1 | |
3113c7f3 | 50 | .SH STANDARDS |
9a74e018 | 51 | C99, POSIX.1-2001, POSIX.1-2008. |
19c98696 | 52 | .SH NOTES |
ca90d3f8 | 53 | In glibc 2.11 and earlier, the implementation does something different |
022671eb MK |
54 | (a |
55 | .I stereographic | |
56 | projection onto a Riemann Sphere). | |
ca90d3f8 | 57 | .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401 |
47297adb | 58 | .SH SEE ALSO |
fea681da | 59 | .BR cabs (3), |
a8bda636 | 60 | .BR complex (7) |