Complex::Pow Method (Complex, Double)

 

Returns a specified complex number raised to a power specified by a double-precision floating-point number.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public:
static Complex Pow(
	Complex value,
	double power
)

Parameters

value
Type: System.Numerics::Complex

A complex number to be raised to a power.

power
Type: System::Double

A double-precision floating-point number that specifies a power.

Return Value

Type: System.Numerics::Complex

The complex number value raised to the power power.

If value is Complex::Zero, the method returns Complex::Zero. For other values, if power is 0, the method returns Complex::One, and if power is 1, it returns value.

This method corresponds to the Math::Pow method for primitive numeric types.

The following example illustrates exponentiation using a complex number and an exponent whose value ranges from -1 to 10.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Return to top
Show: