Loading...
Please wait, while we are loading the content...
Similar Documents
Dynamic Modules Software Integration in Mupad the Concept
| Content Provider | Semantic Scholar |
|---|---|
| Author | Sorgatz, Andreas |
| Copyright Year | 1997 |
| Abstract | The poster introduces the concept of dynamic modules of the computer algebra system (CAS) MuPAD 1]. It is used to integrate user-deened C/C++ code as well as complete software packages into MuPAD and ooers an alternative to interprocess communication (IPC) for many applications. The concept is demonstrated by showing the integration of the NAGC 2] library, the polynomial factorization package Magnum 3] and the IPC protocols ASAP 4] and MP 6] into MuPAD. The variety of diierent packages and algorithms which can be utilized simultaneously from within MuPAD increases drastically. In this sense dynamic modules apply the principle of software integration to the broad eld of mathematical applications 9]. From the user's point of view, a module is similar to a MuPAD library package and is used in the same way. It contains so-called module functions which are, in contrast to library functions, not written in the MuPAD language but are compiled machine code functions usually written in C/C++ just like the built-in functions of the MuPAD kernel. Programming of modules is facilitated by the module programming interface. From a technical point of view, a dynamic module is a special kind of a machine code library that can be linked at run-time. Its module functions are made public to the CAS interpreter and propagated to the user like usual CAS functions. The machine code of dynamic modules resides within the process environment of the CAS kernel and can directly access all internal data and methods. The module code is loaded on demand and can be unloaded at any time by the user and by automatic displacement and replacement strategies. The advantages are: 1. EEciency: Data exchange can be done by simply passing C/C++ pointers. This is the fastest method possible without further communication overhead. 2. Open System: Users can directly access all (documented) parts of the MuPAD kernel and can extend the kernel by nearly any feature that is desired. 3. Modular System: Dynamic modules lead to a small and freely conngurable run-time kernel. Special purpose functions are loaded on demand only (economical resource management). Furthermore, modules can be developed and maintained by users and special interest groups independently from the kernel. 4. Universal Shell: Dynamic modules ooer a new view on a CAS. On the one hand it works in the conventional way, providing its sophisticated capabilities of doing symbolic computation and on the other hand it can be … |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://www.mupad.de/BIB/ONLINE/SORGATZ97b/abstract.ps.gz |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |