ExprInsert Method

Returns a new Expr that has the same head but with e inserted into position n (counted from the end if n is negative). Works like the Wolfram Language function Insert.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public Expr Insert(
	Expr e,
	int n
)

Parameters

e  Expr
The element to insert.
n  Int32
The index at which to perform the insertion (counted from the end if n is negative).

Return Value

Expr
The new Expr.

Exceptions

ArgumentExceptionIf n is beyond the bounds of the expression.

See Also