C# Complex Pow(Complex, Complex)

Description

Complex Pow(Complex, Complex) Returns a specified complex number raised to a power specified by a complex number.

Syntax

Complex.Pow(Complex, Complex) has the following syntax.


public static Complex Pow(
  Complex value,
  Complex power
)

Parameters

Complex.Pow(Complex, Complex) has the following parameters.

  • value - A complex number to be raised to a power.
  • power - A complex number that specifies a power.

Returns

Complex.Pow(Complex, Complex) method returns The complex number value raised to the power power.

Example


//from   w w  w . ja  va  2  s .  c o m
using System;
using System.Numerics;

public class Example
{
   public static void Main()
   {
      Complex value = new Complex(12, -6);
      Console.WriteLine(Complex.Pow(value, value));
   }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Numerics »




BigInteger
Complex