.NET/Link API Version 1.6 USE FRAMES

Expr Members

Expr overview

Public Static (Shared) Methods

CreateFromLink Creates an Expr by reading it off a link.

Public Static (Shared) Operators and Type Conversions

Equality Operator Implements a value-based equality comparison that is similar to Mathematica's SameQ.
Inequality Operator Implements a value-based inequality comparison.
Explicit Expr to Double Conversion Converts the Expr to a double value. This is the same operation as calling the AsDouble method.
Explicit Expr to Int64 Conversion Converts the Expr to a long integer value. This is the same operation as calling the AsInt64 method.
Explicit Expr to String Conversion Converts the Expr to a string representation. This is the same operation as calling the ToString method.

Public Instance Constructors

Expr Overloaded. Creates a new Expr object.

Public Instance Properties

Args Gets an array of Exprs representing the arguments of this Expr.
Dimensions Gets an array of integers representing the dimensions of this Expr. Works like the Mathematica function Dimensions.
Head Gets the Expr representing the head of this Expr. Works like the Mathematica function Head.
Item Gets a part based on its position index. This is the indexer for the class.
Length Gets the length of this Expr. Works like Mathematica's Length function.

Public Instance Methods

AsArray Converts the Expr to an array of the requested type and depth.
AsDouble Gives the double value for Exprs that can be represented as doubles.
AsInt64 Gives the Int64 value for Exprs that can be represented as integers.
AtomQ Tells whether the Expr represents a Mathematica atom. Works like the Mathematica function AtomQ.
ComplexQ Tells whether the Expr represents a Mathematica Complex number.
Delete 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 Mathematica function Delete.
Dispose Frees resources that the Expr uses internally.
Equals Implements a value-based equality comparison that is similar to Mathematica's SameQ.
GetHashCode 
GetObjectData Populates the SerializationInfo object with the Expr's internal state information.
GetType (inherited from Object) 
Insert 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 Mathematica function Insert.
IntegerQ Tells whether the Expr represents a Mathematica integer. Works like the Mathematica function IntegerQ.
ListQ Tells whether the Expr represents a Mathematica list (that is, it has head List). Works like the Mathematica function ListQ.
MatrixQOverloaded. Tells whether the Expr represents a Mathematica matrix (that is, it has head List, every element has head List, and no deeper parts are themselves lists). Works like the Mathematica function MatrixQ.
NumberQ Tells whether the Expr represents a Mathematica number (real, integer, rational, or complex). Works like the Mathematica function NumberQ.
PartOverloaded. Gives the Expr representing the specified part of this Expr. Works like the Mathematica function Part.
Put Not intended for general use.
RationalQ Tells whether the Expr represents a Mathematica Rational number.
RealQ Tells whether the Expr represents a Mathematica Real number.
StringQ Tells whether the Expr represents a Mathematica string. Works like the Mathematica function StringQ.
SymbolQ Tells whether the Expr represents a Mathematica symbol.
Take 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). Works like the Mathematica function Take.
ToString Returns a representation of the Expr as a Mathematica InputForm string.
TrueQ Tells whether the Expr represents the Mathematica symbol True. Works like the Mathematica function TrueQ.
VectorQOverloaded. Tells whether the Expr represents a Mathematica vector (that is, it has head List, and no parts are themselves lists). Works like the Mathematica function VectorQ.

See Also

Expr Class | Wolfram.NETLink Namespace