![]() |
PolyLink
A library to allow manipulation of geometry from within Mathematica
|
Public Member Functions | |
KernelOperation (IKernelLink kernel, string command) | |
void | CheckArgs< T > (IEnumerable< T > args) |
KernelOperation | Format (params object[] args) |
Formats the KernelOperation using String.Format(string, args) More... | |
KernelOperation | Bracket (params object[] args) |
Treats the command like the head of a Mathematica function and sets args to be its arguments. More... | |
KernelOperation | Bracket< T > (IEnumerable< T > args) |
Treats the command like the head of a Mathematica function and sets args to be its arguments. More... | |
object | EvalObject () |
Evaluates the Command to a .NET object, which can be cast as a double, int, boolean, etc. More... | |
Expr | Eval () |
Evaluates the Command to a Mathematica expression. More... | |
Func< Expr, Expr > | EvalFunc () |
Converts this Command to a re-usable function which takes in and gives out Mathematica Expressions. More... | |
KernelOperation | FullSimplify () |
Performs a FullSimplify[] Mathematica operation upon the Command. More... | |
Properties | |
string | Command [get] |
IKernelLink | Kernel [get] |
![]() | |
string | Command [get] |
The code to be executed when this KernelOperation is evaluated. More... | |
IKernelLink | Kernel [get] |
Link to the Mathematica Kernel More... | |
Definition at line 104 of file KernelDispatch.cs.
PolyLink.KernelOperation.KernelOperation | ( | IKernelLink | kernel, |
string | command | ||
) |
Definition at line 109 of file KernelDispatch.cs.
KernelOperation PolyLink.KernelOperation.Bracket | ( | params object[] | args | ) |
Treats the command like the head of a Mathematica function and sets args to be its arguments.
args | Arguments to a function |
Implements PolyLink.IKernelOperation.
Definition at line 139 of file KernelDispatch.cs.
KernelOperation PolyLink.KernelOperation.Bracket< T > | ( | IEnumerable< T > | args | ) |
Treats the command like the head of a Mathematica function and sets args to be its arguments.
args | A collection of argumetns to go into the function |
Implements PolyLink.IKernelOperation.
Definition at line 145 of file KernelDispatch.cs.
void PolyLink.KernelOperation.CheckArgs< T > | ( | IEnumerable< T > | args | ) |
Definition at line 125 of file KernelDispatch.cs.
Expr PolyLink.KernelOperation.Eval | ( | ) |
Evaluates the Command to a Mathematica expression.
Implements PolyLink.IKernelOperation.
Definition at line 169 of file KernelDispatch.cs.
Func<Expr, Expr> PolyLink.KernelOperation.EvalFunc | ( | ) |
Converts this Command to a re-usable function which takes in and gives out Mathematica Expressions.
Implements PolyLink.IKernelOperation.
Definition at line 179 of file KernelDispatch.cs.
object PolyLink.KernelOperation.EvalObject | ( | ) |
Evaluates the Command to a .NET object, which can be cast as a double, int, boolean, etc.
Implements PolyLink.IKernelOperation.
Definition at line 154 of file KernelDispatch.cs.
KernelOperation PolyLink.KernelOperation.Format | ( | params object[] | args | ) |
Formats the KernelOperation using String.Format(string, args)
args | A set of objects to be formatted into the command |
Implements PolyLink.IKernelOperation.
Definition at line 133 of file KernelDispatch.cs.
KernelOperation PolyLink.KernelOperation.FullSimplify | ( | ) |
Performs a FullSimplify[] Mathematica operation upon the Command.
Implements PolyLink.IKernelOperation.
Definition at line 191 of file KernelDispatch.cs.
|
get |
Definition at line 116 of file KernelDispatch.cs.
|
get |
Definition at line 121 of file KernelDispatch.cs.