Complex::Imaginary Property

 

Gets the imaginary component of the current Complex object.

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

public:
property double Imaginary {
	double get();
}

Property Value

Type: System::Double

The imaginary component of a complex number.

Given a complex number a + bi, the Imaginary property returns the value of b.

The following example instantiates an array of Complex objects and displays the real and imaginary components of each in the form a + bi.

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: