ExprArgs Property

Gets an array of Exprs representing the arguments of this Expr.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public Expr[] Args { get; }

Property Value

Expr

Remarks

For Exprs that have head Rational or Complex, this gives a two-argument array giving the numerator/denominator or re/im parts, repsectively.

A 0-length array is returned if this Expr is a function with zero arguments, or an atomic type (integer, real, string, symbol).

This property can be expensive to call if the Expr represents a large array of integers or reals. Such data is normally held within the Expr in an efficient format, and asking for it to be "unpacked" into many individual Expr objects is costly.

See Also