Cpow: Difference between revisions
Appearance
Content deleted Content added
removed Category:C standard library headers; added Category:C standard library using HotCat |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Complex Power Function== |
|||
{{Proposed deletion/dated |
|||
<br />Standard Library Header file : |
|||
|concern = [[wp:nottextbook | wikipedia is not a textbook]] |
|||
⚫ | |||
|timestamp = 20110915095251 |
|||
==Introduction == |
|||
}} |
|||
In [[mathematics]] [[complex number]] is denoted by 'z' . |
|||
==COMPLEX POWER FUNCTION== |
|||
z = x + iy |
|||
⚫ | |||
In this number 'x' is the real part and 'y' is [[imaginary part]]. |
|||
⚫ | |||
'i' is [[imaginary unit]] ,where "i<sup>2</sup> = -1 ".<br /> |
|||
Complex power is defined by the mathematical operation of [[exponentiation]] given by "z<sub>1</sub><sup>z<sub>2</sub></sup>" .<br /> |
|||
In [[C programming language]] , library function for this is given by ''Cpow''.<br /> |
|||
=== Syntax for function === |
|||
==SYNOPSIS== |
|||
⚫ | |||
⚫ | |||
#include <complex.h> |
|||
==Return Value== |
|||
⚫ | |||
==RETURN VALUE== |
|||
<br /> |
<br /> |
||
These functions shall return the complex power function value. |
These functions shall return the complex power function value. |
||
Returns the complex power of base x raised to the y-th power using the principal branch, whose cuts are along the negative real axis. |
Returns the complex power of base x raised to the y-th power using the principal branch, whose cuts are along the negative real axis. |
||
==Reference== |
==Reference== |
||
{{reflist}} |
{{reflist}} |
Revision as of 21:44, 16 September 2011
Complex Power Function
Standard Library Header file :
complex.h (complex arithmetic)
Introduction
In mathematics complex number is denoted by 'z' .
z = x + iy
In this number 'x' is the real part and 'y' is imaginary part.
'i' is imaginary unit ,where "i2 = -1 ".
Complex power is defined by the mathematical operation of exponentiation given by "z1z2" .
In C programming language , library function for this is given by Cpow.
Syntax for function
double complex cpow(double complex x, double complex y);
Return Value
These functions shall return the complex power function value.
Returns the complex power of base x raised to the y-th power using the principal branch, whose cuts are along the negative real axis.
Reference
http://pubs.opengroup.org/onlinepubs/009604499/basedefs/complex.h.html