Click or drag to resize

DoubleComplexParse(String) Method

Constructs a DoubleComplex instance from a string representation of the form real,imag or (real,imag).

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleComplex Parse(
	string s
)

Parameters

s  String
String representation.

Return Value

DoubleComplex
A new DoubleComplex instance.
Remarks
Whitespace is ignored. If only one value is supplied, it is assumed to be the real part. For example, acceptable strings are:
C#
4.2,-5.1
(4.2,-5.1)
4.2
Unacceptable strings are:
C#
4.2 - 5.1i
4.2 - 5.1
See Also