IMathLinkGetComplex Method

Reads a complex number. This can be an integer, real, or a Wolfram Language expression with head Complex.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
Object GetComplex()

Return Value

Object
The complex number as an instance of the class previously designated using the ComplexType property, or null if no class has been designated.

Remarks

You must first designated a class to be used for complex numbers using the ComplexType property.

Exceptions

MathLinkExceptionIf the waiting data cannot be read in this format, or on any other MathLink error.

See Also