Constructs a FloatComplex instance from a string representation of the
form real,imag or (real,imag).
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static FloatComplex Parse( string s ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Parse ( _ s As String _ ) As FloatComplex |
| Visual C++ |
|---|
public: static FloatComplex Parse( String^ s ) |
Parameters
- s
- Type: System..::.String
String representation.
Return Value
A new FloatComplex instance.
Remarks
Whitespace is ignored. If only one value is supplied, it is assumed to be
the real part. For example, acceptable strings are:
CopyC#
Unacceptable strings are:
CopyC#
4.2,-5.1 (4.2,-5.1) 4.2
4.2 - 5.1i 4.2 - 5.1