Uses of Class
com.wolfram.jlink.Expr
-
Packages that use Expr Package Description com.wolfram.jlink This is the main J/Link package, containing the classes and interfaces that programmers will use most. -
-
Uses of Expr in com.wolfram.jlink
Fields in com.wolfram.jlink declared as Expr Modifier and Type Field Description static ExprExpr. INT_MINUSONEUnused for now.static ExprExpr. INT_ONEUnused for now.static ExprExpr. INT_ZEROUnused for now.static ExprExpr. SYM_COMPLEXUnused for now.static ExprExpr. SYM_FALSEUnused for now.static ExprExpr. SYM_INTEGERUnused for now.static ExprExpr. SYM_LISTUnused for now.static ExprExpr. SYM_NULLUnused for now.static ExprExpr. SYM_RATIONALUnused for now.static ExprExpr. SYM_REALUnused for now.static ExprExpr. SYM_STRINGUnused for now.static ExprExpr. SYM_SYMBOLUnused for now.static ExprExpr. SYM_TRUEUnused for now.Methods in com.wolfram.jlink that return Expr Modifier and Type Method Description Expr[]Expr. args()Gives an array of Exprs representing the arguments of this Expr.protected ExprMathListener. callMathHandler(java.lang.String meth, java.lang.Object[] args)Derived classes call this method from their event handler methods.static ExprExpr. createFromLink(MathLink ml)This factory method will only be used by advanced programmers who are creating their own classes that implement the MathLink interface.ExprExpr. delete(int n)Returns a new Expr that has the same head but the nth element deleted (counted from the end if n is negative).ExprKernelLink. enableObjectReferences(boolean becomeDefaultJVM)Call this method to enable the ability to pass Java objects "by reference" to Mathematica.ExprMathLink. getExpr()Reads an expression from the link and creates an Expr from it.ExprExpr. head()Gives a new Expr representing the head of this Expr.ExprExpr. insert(Expr e, int n)Returns a new Expr that has the same head but with e inserted into position n (counted from the end if n is negative).ExprExpr. part(int i)Gives a new Expr representing the specified part of this Expr.ExprExpr. part(int[] ia)Gives a new Expr representing the specified part of this Expr.ExprMathLink. peekExpr()Creates an Expr from the current expression, but does not drain it off the link.ExprExpr. take(int n)Returns a new Expr that has the same head but only the first n elements of this Expr (or last n elements if n is negative).Methods in com.wolfram.jlink that return types with arguments of type Expr Modifier and Type Method Description java.util.Iterator<Expr>Expr. iterator()Provides anIteratorto traverse this expression's arguments.Methods in com.wolfram.jlink with parameters of type Expr Modifier and Type Method Description voidKernelLink. evaluate(Expr e)Sends an Expr for evaluation.byte[]KernelLink. evaluateToImage(Expr e, int width, int height)Sends graphics or plotting code to evaluate, then reads and discards all output except for the image data, which is returned as a byte array of GIF data.byte[]KernelLink. evaluateToImage(Expr e, int width, int height, int dpi, boolean useFE)Sends graphics or plotting code to evaluate, then reads and discards all output except for the image data, which is returned as a byte array of GIF data.java.lang.StringKernelLink. evaluateToInputForm(Expr e, int pageWidth)Sends an Expr to evaluate, then reads and discards all output except for the result, which is returned.java.lang.StringKernelLink. evaluateToOutputForm(Expr e, int pageWidth)Sends an Expr to evaluate, then reads and discards all output except for the result, which is returned.byte[]KernelLink. evaluateToTypeset(Expr e, int width, boolean useStdForm)Sends an Expr to evaluate, the result of which will be typeset, converted to a GIF, and the resulting data returned.ExprExpr. insert(Expr e, int n)Returns a new Expr that has the same head but with e inserted into position n (counted from the end if n is negative).Constructors in com.wolfram.jlink with parameters of type Expr Constructor Description Expr(Expr head, Expr... args)Creates an Expr with the given head and arguments.Expr(java.lang.String head, Expr... args)Creates an Expr with the given head and arguments.
-