Implicit conversion of a single-precision floating-point number to a complex number. : Complex « Data Types « VB.Net

Home
VB.Net
 1 2D 2 Application 3 Class 4 Data Structure 5 Data Types 6 Database ADO.net 7 Date Time 8 Development 9 Event 10 File Directory 11 Generics 12 GUI 13 Internationalization I18N 14 Language Basics 15 LINQ 16 Network Remote 17 Reflection 18 Security 19 Thread 20 Windows Presentation Foundation 21 Windows System 22 XML 23 XML LINQ
 VB.Net » Data Types » Complex Screenshots
Implicit conversion of a single-precision floating-point number to a complex number.
 ```  Imports System.Numerics Imports System Module Example    Public Sub Main()         Dim singleValue As Single = 1.032e-08         Dim c1 As System.Numerics.Complex = singleValue         Console.WriteLine(c1)    End Sub End Module       ```
Related examples in the same category
 1 Create Complex structure using real and imaginary values. 2 Complex Structure Represents a complex number. 3 Assign a Double to a complex number 4 Cast a Decimal to a complex number 5 Assign the return value of a method to a Complex variable 6 Assign the value returned by an operator to a Complex variable 7 Instantiate a complex number from its polar coordinates 8 Compare two Complex number values 9 Complex.Sqrt 10 Complex Number calculation 11 Complex.Pow 12 Assign a Double to a complex number 13 Cast a Decimal to a complex number. 14 Assign the return value of a method to a Complex variable. 15 Assign the value returned by an operator to a Complex variable. 16 Instantiate a complex number from its polar coordinates. 17 Complex.Log 18 Create new Complex number from Double.MinValue and Double.MaxValue 19 Complex.Abs Method Gets the absolute value (or magnitude) of a complex number. 20 Complex.Acos Method Returns the angle that is the arc cosine of the specified complex number. 21 Complex.Add Method Adds two complex numbers and returns the result. 22 Complex Addition Operator 23 Complex number array 24 Complex.Asin Method Returns the angle that is the arc sine of the specified complex number. 25 Complex.Atan Method Returns the angle that is the arc tangent of the specified complex number. 26 Complex.Conjugate Method Computes the conjugate of a complex number and returns the result. 27 Complex.Divide Method Divides one complex number by another and returns the result. 28 Complex.Equals Method (Complex) 29 Compare the Complex values 30 Complex.Exp Method Returns e raised to the power specified by a complex number. 31 Complex.FromPolarCoordinates Creates a complex number from a point's polar coordinates. 32 Complex.Imaginary Property Gets the imaginary component of the current Complex object. 33 Complex.ImaginaryOne Returns a Complex with a real number equal to zero and an imaginary number equal to one. 34 Complex.Multiply Method Returns the product of two complex numbers. 35 Complex.Negate Method Returns the additive inverse of a specified complex number. 36 Complex.Reciprocal Method Returns the multiplicative inverse of a complex number. 37 Complex.Subtract Method Subtracts one complex number from another and returns the result. 38 Complex.ToString Method (IFormatProvider) 39 Complex number format: "F2", "N2", "G5" 40 Complex.ToString Method 41 Complex.Zero Field Returns a Complex with a real number equal to zero and an imaginary number equal to zero. 42 An explicit conversion of a BigInteger value to a complex number. 43 An explicit conversion of a Decimal value to a complex number. 44 Implicit conversion of an unsigned byte to a complex number. 45 Implicit conversion of a double-precision floating-point number to a complex number. 46 Implicit conversion of a 16-bit signed integer to a complex number. 47 Implicit conversion of a 32-bit signed integer to a complex number. 48 Implicit conversion of a 64-bit signed integer to a complex number. 49 Implicit conversion of a signed byte to a complex number. 50 Implicit conversion of a 16-bit unsigned integer to a complex number. 51 Implicit conversion of a 32-bit unsigned integer to a complex number. 52 Implicit conversion of a 64-bit unsigned integer to a complex number.