public class UnaryBindIth extends java.lang.Object implements IUnaryIndexFunction<IExpr,IExpr>
arg in
the apply method.| Constructor and Description |
|---|
UnaryBindIth(IAST constant)
The
constant AST will be cloned in the apply method. |
| Modifier and Type | Method and Description |
|---|---|
IExpr |
apply(int index,
IExpr arg)
Clone the given AST and set the i-th argument of the new AST to
arg
. |
protected final IAST fConstant
public UnaryBindIth(IAST constant)
constant AST will be cloned in the apply method.constant - a "template AST" with all arguments set with
a predefined value.public IExpr apply(int index, IExpr arg)
arg
.apply in interface IUnaryIndexFunction<IExpr,IExpr>index - the i-th index should be usedarg - the i-th argument in the new AST