man-pages/man3/cproj.3

38 lines
1.1 KiB
Groff
Raw Normal View History

2004-11-03 13:51:07 +00:00
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH CPROJ 3 2010-06-10 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
cproj, cprojf, cprojl \- project into Riemann Sphere
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex cproj(double complex " z ");"
.br
2004-11-03 13:51:07 +00:00
.BI "float complex cprojf(float complex " z ");"
.br
2004-11-03 13:51:07 +00:00
.BI "long double complex cprojl(long double complex " z ");"
.sp
2007-07-21 05:25:03 +00:00
Link with \fI\-lm\fP.
2004-11-03 13:51:07 +00:00
.SH DESCRIPTION
This function projects a point in the plane onto the surface of a
2004-11-03 13:51:07 +00:00
Riemann Sphere, the one-point compactification of the complex plane.
2007-07-09 20:25:04 +00:00
Each finite point
.I z
projects to
.I z
itself.
2004-11-03 13:51:07 +00:00
Every complex infinite value is projected to a single infinite value,
namely to positive infinity on the real axis.
.SH VERSIONS
These functions first appeared in glibc in version 2.1.
2004-11-03 13:51:07 +00:00
.SH "CONFORMING TO"
C99.
2007-05-16 02:54:18 +00:00
.SH NOTES
In glibc 2.11 and earlier, the implementation does something different
(a \fIstereographic\fP projection onto a Riemann Sphere).
.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401
2004-11-03 13:51:07 +00:00
.SH "SEE ALSO"
.BR cabs (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)