Overview - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Visual Basic (VB) OpenMaple Application Program Interface (API)

 

Session State and I/O Functions

Conversion from Maple Objects

Conversion to Maple Objects

Data Queries

Rectangular Table (Vector, Matrix, Array) Manipulation

List and Table Manipulation

Output

Assignment and Selection Functions

Memory and Foreign Object Management

System and Maple Properties

Evaluation and Error Handling

Session State and I/O Functions

  

The following is a list of functions that can be used in VB OpenMaple to control the session state and I/O. These include functions for starting, restarting, and stopping a Maple session as well as functions for controlling standard input and output.

callBackCallBack

errorCallBack

queryInterrupt

readLineCallBack

redirectCallBack

RestartMaple

StartMaple

statusCallBack

StopMaple

streamCallBack

textCallBack

 

Conversion from Maple Objects

  

The following is a list of functions that can be used to convert a Maple object to a native VB data structure.

MapleToComplexFloat32

MapleToComplexFloat64

MapleToComplexFloatDAG

MapleToFloat32

MapleToFloat64

MapleToInteger16

MapleToInteger32

MapleToInteger8

MapleToM_BOOL

MapleToM_INT

MapleToString

 

Conversion to Maple Objects

  

The following is a list of functions that can be used to convert a native VB data structure to a Maple object.

MapleExpseqAssign

MapleExpseqSelect

NewMapleExpressionSequence

ToMapleBoolean

ToMapleChar

ToMapleComplex

ToMapleComplexFloat

ToMapleFloat

ToMapleFunction

ToMapleInteger

ToMapleName

ToMapleNULL

ToMapleNULLPointer

ToMapleRelation

ToMapleString

ToMapleUneval

Data Queries

  

The following is a list of functions that can be used to test for a kind of Maple object.

IsMapleAssignedName

IsMapleComplexNumeric

IsMapleInteger

IsMapleInteger16

IsMapleInteger32

IsMapleInteger64

IsMapleInteger8

IsMapleList

IsMapleName

IsMapleNULL

IsMapleNumeric

IsMaplePointer

IsMaplePointerNULL

IsMapleProcedure

IsMapleRTable

IsMapleSet

IsMapleStop

IsMapleString

IsMapleTable

IsMapleUnassignedName

IsMapleUnnamedZero

MapleNumArgs

 

 

Rectangular Table (Vector, Matrix, Array) Manipulation

  

The following is a list of functions that can be used to create, modify, inspect, and otherwise manipulate rtables.

ptrRTableSparseIndexRow

RTableAppendAttribute

RTableAppendIndFn

RTableAssignComplexDAG

RTableAssignComplexFloat64

RTableAssignDAG

RTableAssignFloat32

RTableAssignFloat64

RTableAssignInteger16

RTableAssignInteger32

RTableAssignInteger8

RTableCopy

RTableCopyImPart

RTableCopyRealPart

RTableCreate

RTableDataBlock

RTableGetDefaults

RTableGetSettings

RTableIndFn

RTableIndFnArgs

RTableIsReal

RTableLowerBound

RTableNumDimensions

RTableNumElements

RTableSelectComplexDAG

RTableSelectComplexFloat64

RTableSelectDAG

RTableSelectFloat32

RTableSelectFloat64

RTableSelectInteger16

RTableSelectInteger32

RTableSelectInteger8

RTableSetAttribute

RTableSetIndFn

RTableSetType

RTableSparseCompact

RTableSparseIndexRow

RTableSparseIndexSort

RTableSparseResize

RTableSparseSetNumElems

RTableSparseSize

RTableUpperBound

RTableZipReIm

 

List and Table Manipulation

  

The following is a list of functions that can be used to create and access lists and tables.

MapleListAlloc

MapleListAssign

MapleListSelect

MapleTableAlloc

MapleTableAssign

MapleTableDelete

MapleTableHasEntry

MapleTableSelect

Output

  

The following is a list of functions that can be used to send formatted output to be displayed through the Maple user interface.

MapleALGEB_Printf0

MapleALGEB_Printf1

MapleALGEB_Printf2

MapleALGEB_Printf3

MapleALGEB_Printf4

MapleALGEB_SPrintf0

MapleALGEB_SPrintf1

MapleALGEB_SPrintf2

MapleALGEB_SPrintf3

MapleALGEB_SPrintf4

MapleUserInfo

 

Assignment and Selection Functions

  

The following is a list of functions that can be used to assign to variables, and select data from certain kinds of Maple objects.

MapleAssign

MapleAssignIndexed

MapleSelectImaginaryPart

MapleSelectIndexed

MapleSelectRealPart

 

 

 

Memory and Foreign Object Management

  

The following is a list of functions that can be used to create custom external data structures that refer to live Maple objects.

MapleAlloc

MapleDispose

MapleGcAllow

MapleGcIsProtected

MapleGcProtect

 

 

 

System and Maple Properties

  

The following is a list of functions that can be used to query various system and Maple properties.

MapleKernelOptions

MapleLibName

 

 

Evaluation and Error Handling

  

The following is a list of functions that can be used to evaluate objects, functions, and expressions, and handle errors that may arise during evaluation.

EvalhfMapleProc

EvalMapleProcedure

EvalMapleStatement

MapleEval

MapleEvalhf

MapleRaiseError

MapleRaiseError1

MapleRaiseError2

MapleTrapError

MapleUnique

 

 

See Also

OpenMaple

OpenMaple/VB/Examples