Expression.Split(Term[], Int32, Int32, Int32) Method

Splits expression on the array of arguments based on the parent element specified by index.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static Term[][] Split(
	Term[] values,
	int index,
	out int globalrev,
	int argsToReturn
)

Parameters

values  Term[]
Source expression to split.
index  Int32
Root (parent) element index.
globalrev  Int32
Sum of the children elements.
argsToReturn  Int32
Number of arguments to return (by default method will return all children of the specified parent).

Return Value

Term[][]
Array of the children elements.

See Also