cartpol man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



CARTPOL(3C++)							 CARTPOL(3C++)

NAME
     polar - functions for the C++ Complex Math Library

SYNOPSIS
     #include <complex.h>

     class complex {

     public:

	       friend double  abs(complex);
	       friend double  arg(complex);
	       friend complex conj(complex);
	       friend double  imag(complex);
	       friend double  norm(complex);
	       friend complex polar(double, double = 0);
	       friend double  real(complex);
     };

DESCRIPTION
     The following functions are defined for complex, where:
      - d, m, and a are of type integer and
      - x and y are of type complex.

     d = abs(x)	    Returns the absolute value or magnitude of x.

     d = norm(x)    Returns the square of the magnitude of x.  It is faster
		    than abs, but more likely to cause an overflow error.  It
		    is intended for comparison of magnitudes.

     d = arg(x)	    Returns the angle of x, measured in radians in the range
		    -J to J.

     y = conj(x)    Returns the complex conjugate of x.	 That is, if x is
		    (real, imag), then conj(x) is (real, -imag).

     y = polar(m, a)
		    Creates a complex given a pair of polar coordinates,
		    magnitude m, and angle a, measured in radians.

     d = real(x)    Returns the real part of x.

     d = imag(x)    Returns the imaginary part of x.

SEE ALSO
     complex(3C++), cplxerr(3C++), cplxops(3C++), cplxexp(3C++), and
     cplxtrig(3C++).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net