Programming - Maple Help

Online Help

All Products    Maple    MapleSim


Programming Facilities Changes in Maple 9

  

Maple 9 includes the following changes to programming facilities.

 

CodeGeneration Package

OpenMaple Application Program Interface (API)

Maplets Package

Debugging Code

Profiling Code

Kernel Options

CodeGeneration Package

• 

Many improvements have been made to the CodeGeneration package.  There are new exports that allow you to translate Maple code to MATLAB® and Visual Basic languages.  This provides users with the ability to extend the current translation facilities.  The translators now accept modules as input, in addition to expressions, computation sequences, and procedures. For more information on these new features, along with other improvements in efficiency, coverage of the Maple language, and quality of the output, see Enhanced Packages in Maple 9: Part 1.

OpenMaple Application Program Interface (API)

• 

OpenMaple is a suite of functions that allows you to access Maple algorithms and data structures in your compiled C program. This is the reverse of ExternalCalling, which allows access to C data structures from Maple.

• 

The OpenMaple API is built on top of the existing API for writing ExternalCalling custom wrappers. OpenMaple provides the ability to start a Maple session, evaluate commands, manipulate native Maple data structures, and control output.

• 

There is extensive help and examples using OpenMaple and ExternalCalling available.  For details, see ?OpenMaple.

Maplets Package

• 

Several Maplets[Elements] routines have been updated. For more information, see Maple 9 Graphical User Interface (GUI) Improvements.

Debugging Code

• 

A new interactive interface has been created for the Maple debugger. For more information, see Interactive Maple Debugger.

• 

For more information, see Maple 9 Graphical User Interface (GUI) Improvements.

Profiling Code

• 

The CodeTools package provides a Profiling subpackage which performs statement level profiling of Maple code. The Profiling package also contains functions for performing coverage analysis of Maple code.  Coverage analysis allows the programmer to determine which statements are utilized during the execution of the code.

Kernel Options

• 

There are many new kernel options and variables.

bindir

byteorder

gmpthreshold

gmpversion

mapledir

sparse_sort_cutoff

stackalloc

system

 

 

 

 

• 

For more information, see kernelopts.

See Also

CodeGeneration

CodeTools

CustomWrapper

Enhanced Packages in Maple 9: Part 1

ExternalCalling

Index of New Maple 9 Features

Interactive Maple Debugger

kernelopts

Maple 9 Graphical User Interface (GUI) Improvements

New and Enhanced Packages in Maple 9

OpenMaple