ExprDelete Method

Returns a new Expr that has the same head but the nth element deleted (counted from the end if n is negative). Works like the Wolfram Language function Delete.

Definition

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

Parameters

n  Int32
The index of the element to delete (counted from the end if n is negative).

Return Value

Expr
The shortened Expr.

Exceptions

ArgumentExceptionIf n is beyond the bounds of the expression.

See Also