A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/NETLink/ref/net/Wolfram.NETLink.Expr.AsArray.html below:

Expr.AsArray Method

Converts the Expr to an array of the requested type and depth.

Parameters
reqType
The type of the leaf elements. Must be ExpressionType.Integer or ExpressionType.Real.
depth
The desired depth of the array. Must be 1 or 2.
Remarks

The requested element type must be either ExpressionType.Integer or ExpressionType.Real, and the depth must be 1 or 2. In other words, 1- or 2-dimensionals arrays of integers or doubles can be extracted from an Expr object using this method.

Some Exprs represent large lists or arrays of integers or reals. This method is the only efficient way of extracting the raw array data from out of the Expr. To preserve the immutability of Exprs, however, the returned array is a copy of the Expr's internal array data.

Exceptions See Also

Expr Class | Wolfram.NETLink Namespace


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4