Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #547
Difficulty: Medium
unary operators only operate on universal variables.
True or False?
Linux & Unix Commands - Search Man Pages

cproj(3) [linux man page]

CPROJ(3)						     Linux Programmer's Manual							  CPROJ(3)

NAME
cproj, cprojf, cprojl - project into Riemann Sphere SYNOPSIS
#include <complex.h> double complex cproj(double complex z); float complex cprojf(float complex z); long double complex cprojl(long double complex z); Link with -lm. DESCRIPTION
This function projects a point in the plane onto the surface of a Riemann Sphere, the one-point compactification of the complex plane. Each finite point z projects to z itself. Every complex infinite value is projected to a single infinite value, namely to positive infin- ity on the real axis. VERSIONS
These functions first appeared in glibc in version 2.1. CONFORMING TO
C99. NOTES
In glibc 2.11 and earlier, the implementation does something different (a stereographic projection onto a Riemann Sphere). SEE ALSO
cabs(3), complex(7) COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2010-06-10 CPROJ(3)

Check Out this Related Man Page

CPROJ(3)						     Linux Programmer's Manual							  CPROJ(3)

NAME
cproj, cprojf, cprojl - project into Riemann Sphere SYNOPSIS
#include <complex.h> double complex cproj(double complex z); float complex cprojf(float complex z); long double complex cprojl(long double complex z); Link with -lm. DESCRIPTION
These functions project a point in the plane onto the surface of a Riemann Sphere, the one-point compactification of the complex plane. Each finite point z projects to z itself. Every complex infinite value is projected to a single infinite value, namely to positive infin- ity on the real axis. VERSIONS
These functions first appeared in glibc in version 2.1. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +----------------------------+---------------+---------+ |Interface | Attribute | Value | +----------------------------+---------------+---------+ |cproj(), cprojf(), cprojl() | Thread safety | MT-Safe | +----------------------------+---------------+---------+ CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. NOTES
In glibc 2.11 and earlier, the implementation does something different (a stereographic projection onto a Riemann Sphere). SEE ALSO
cabs(3), complex(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2015-04-19 CPROJ(3)

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Use of "CUT" command.

Hi, I have 3 fields in a file. For example I have them like this: 1,Santosh, 24 I want to have these 3 values in 3 different variables. How can I do it. Thanks in advance (24 Replies)
Discussion started by: sendhil
24 Replies

2. Shell Programming and Scripting

Perl script strange problem

Hi All, I have one strange problem in perl script. Bellow is the contents of the script i am trying to write: #!/usr/local/bin/perl my $module_list = ''; my @running_module; my $count=0; my $flag=0; my $ccprojecthome=$ENV{CCPROJECTHOME}; @module_list = `cat... (2 Replies)
Discussion started by: vaibhav
2 Replies

3. UNIX for Dummies Questions & Answers

Finding file with the same name but different case

Hi experts, I have list of directories and files, which can have the files with the same name but different cases like, $ ls ovwbemaction_lib.vcproj OvWBEMAction_lib.vcproj In the above example, both has the same name but different case which is supported in Linux. Now I... (4 Replies)
Discussion started by: skmdu
4 Replies

4. Shell Programming and Scripting

File manipulation with AWK and SED

Hello How do i check that correct input files are used while using AWk and SED for file manipulation? e.g awk '/bin/ {print $0 }' shell.txt sed 's/hp/samsung/' printers.txt how do i ensure that the correct input files I am working with are used? (5 Replies)
Discussion started by: Pauline mugisha
5 Replies

5. Gentoo

How to failover the cluster ?

How to failover the cluster ? GNU/Linux By which command, My Linux version 2008 x86_64 x86_64 x86_64 GNU/Linux What are the prerequisites we need to take while failover ? if any Regards (3 Replies)
Discussion started by: sidharthmellam
3 Replies

6. Shell Programming and Scripting

moving files between directories !!

hi i have a list of directory in a text file with all directories name in a column.(this is not exactly a file but i need to do a grep and awk on a file to find that list) i have the source folders like abchome/abc/xxyz/nl_xxabc/mm// v01 ... (4 Replies)
Discussion started by: debu000
4 Replies

7. UNIX for Advanced & Expert Users

Entire Input command not visible in Unix prompt

Hi, While typing the Unix command, entire command is not visible.When the input command is long, it is not visible. I want the entire command to be displayed when i type it. Please help to resolve this issue. Thanks Sampath (7 Replies)
Discussion started by: sampath.giri
7 Replies

8. Shell Programming and Scripting

Help cannot concatenate Ksh variables ?

Cannot combine these two strings into one line, either as a 3rd variable or echo or printing ? Frustrating. for i in `cat /scripts/pathList.dat` do OldRepo= grep Oldhostname ${i}/.svn/entries | tail -1 NewRepo= grep Oldhostname ${i}/.svn/entries | tail -1 | sed '/Oldhostname/... (41 Replies)
Discussion started by: pcpinkerton
41 Replies

9. IP Networking

Tier 2 list

SOLVED May someone give me a hint, or got experience about using as default dns one of the so called TIER 2 list? OpenNIC Wiki: Public Access (Tier-2) DNS Servers Or otherwise uses the google ns 8.8.8.8 or the 8.8.4.4? thanks in advance (3 Replies)
Discussion started by: 1in10
3 Replies

10. Shell Programming and Scripting

Perl:: mass replacement of converting C code formats to tgmath.h

hello, i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc usually for simple bulk replacements i would do something simple like this perl -pi -e 's/cosl/cos/g' *.c the reference... (0 Replies)
Discussion started by: f77hack
0 Replies

11. UNIX for Beginners Questions & Answers

Installing winpcap and configure it with cygwin

When I put the ./configure command in my Cygwin terminal to compile a source code program , I got this error : ERROR! Libpcap library/headers not found. TCPDUMP/LIBPCAP public repository is a good place to fetch one if libpcap library is installed, use the --with-libpcap-* options to... (6 Replies)
Discussion started by: steve120
6 Replies

Featured Tech Videos