Initializes a new instance of the ComplexF struct.

Namespace: Cudafy.Types
Assembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170

Syntax

C#
public ComplexF(
	float real,
	float imaginary
)
Visual Basic
Public Sub New ( _
	real As Single, _
	imaginary As Single _
)
Visual C++
public:
ComplexF(
	float real, 
	float imaginary
)

Parameters

real
Type: System..::..Single
The real part.
imaginary
Type: System..::..Single
The imaginary part.

See Also