PolyLink
A library to allow manipulation of geometry from within Mathematica
 All Classes Namespaces Files Functions Variables Properties
PolyLink.IKernelOperation Interface Reference
Inheritance diagram for PolyLink.IKernelOperation:
PolyLink.KernelOperation

Public Member Functions

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]
 The code to be executed when this KernelOperation is evaluated. More...
 
IKernelLink Kernel [get]
 Link to the Mathematica Kernel More...
 

Detailed Description

Definition at line 50 of file KernelDispatch.cs.

Member Function Documentation

KernelOperation PolyLink.IKernelOperation.Bracket ( params object[]  args)

Treats the command like the head of a Mathematica function and sets args to be its arguments.

Parameters
argsArguments to a function
Returns
A new KernelOperation with the arguments in place

Implemented in PolyLink.KernelOperation.

KernelOperation PolyLink.IKernelOperation.Bracket< T > ( IEnumerable< T >  args)

Treats the command like the head of a Mathematica function and sets args to be its arguments.

Parameters
argsA collection of argumetns to go into the function
Returns
A new KernelOperation with the arguments in place

Implemented in PolyLink.KernelOperation.

Expr PolyLink.IKernelOperation.Eval ( )

Evaluates the Command to a Mathematica expression.

Implemented in PolyLink.KernelOperation.

Func<Expr, Expr> PolyLink.IKernelOperation.EvalFunc ( )

Converts this Command to a re-usable function which takes in and gives out Mathematica Expressions.

Implemented in PolyLink.KernelOperation.

object PolyLink.IKernelOperation.EvalObject ( )

Evaluates the Command to a .NET object, which can be cast as a double, int, boolean, etc.

Implemented in PolyLink.KernelOperation.

KernelOperation PolyLink.IKernelOperation.Format ( params object[]  args)

Formats the KernelOperation using String.Format(string, args)

Parameters
argsA set of objects to be formatted into the command
Returns
A new formatted command.

Implemented in PolyLink.KernelOperation.

KernelOperation PolyLink.IKernelOperation.FullSimplify ( )

Performs a FullSimplify[] Mathematica operation upon the Command.

Implemented in PolyLink.KernelOperation.

Property Documentation

string PolyLink.IKernelOperation.Command
get

The code to be executed when this KernelOperation is evaluated.

Definition at line 55 of file KernelDispatch.cs.

IKernelLink PolyLink.IKernelOperation.Kernel
get

Link to the Mathematica Kernel

Definition at line 60 of file KernelDispatch.cs.


The documentation for this interface was generated from the following file: