Chapter Contents

Previous

Next
Header Files, Classes, and Functions

Complex Library Contents

Besides two constructors, the following functions are provided by class complex , which constitutes the complex library. All these functions are public and are contained in the header file complex.h . The functions are listed in the order in which they appear in Chapter 4.

abs() arg( )
conj() imag()
norm() polar()
real()


exp() log( )
pow() sqrt( )


sin() cos ( )
sinh() cosh ( )


operator +() operator- ( )
operator *() operator / ( )
operator ==) operator != ( )
operator +=( ) operator -= ( )
operator *= operator /=( )


operator << ( ) operator >> ( )


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.