1CPROJ(3)                   Linux Programmer's Manual                  CPROJ(3)
2
3
4

NAME

6       cproj, cprojf, cprojl - project into Riemann Sphere
7

SYNOPSIS

9       #include <complex.h>
10
11       double complex cproj(double complex z);
12       float complex cprojf(float complex z);
13       long double complex cprojl(long double complex z);
14
15       Link with -lm.
16

DESCRIPTION

18       This  function projects a point in the plane onto the surface of a Rie‐
19       mann Sphere, the one-point compactification of the complex plane.  Each
20       finite  point  z projects to z itself.  Every complex infinite value is
21       projected to a single infinite value, namely to  positive  infinity  on
22       the real axis.
23

VERSIONS

25       These functions first appeared in glibc in version 2.1.
26

CONFORMING TO

28       C99.
29

NOTES

31       In  glibc 2.11 and earlier, the implementation does something different
32       (a stereographic projection onto a Riemann Sphere).
33

SEE ALSO

35       cabs(3), complex(7)
36

COLOPHON

38       This page is part of release 3.25 of the Linux  man-pages  project.   A
39       description  of  the project, and information about reporting bugs, can
40       be found at http://www.kernel.org/doc/man-pages/.
41
42
43
44                                  2010-06-10                          CPROJ(3)
Impressum