IKernelLinkGetArray(Type, Int32) Method

Reads an array and discards information about the heads at each level.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
Array GetArray(
	Type leafType,
	int depth
)

Parameters

leafType  Type
The type of the leaf elements of the returned array.
depth  Int32
The requested depth.

Return Value

Array

Implements

IMathLinkGetArray(Type, Int32)

Remarks

The information about the heads is lost; if you need this information you can use the alternative overload GetArray(int type, int depth, out string[] heads), or read the expression as an Expr and examine it using the Expr methods.

Exceptions

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

See Also