Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim

Hello everybody, I'd like to write from a procedure results in a table as output. Something like this, that I show at the end.

 

In the volume Advanced Programming Guide of the Maple manual, the "clasical" picture of the Maple system architecture is depicted:

 A1: Internal Organization
Components

Maple consists of three main components: a kernel, a library, and a user interface. The kernel and library together are known as the math engine.
Kernel The kernel is written in the C language and is responsible for low-level operations such as arbitrary precision arithmetic, file I/O, execution of the Maple language, and the performance of simple mathematical operations such as differentiation of polynomials.
Library Most of the Maple mathematical functionality is in the Maple library, which is written in the Maple language. The library is stored in an archive, and pieces of it are loaded and interpreted by the kernel on demand.
User Interface The user interface is the part of Maple that the user sees, and is conceptually separate from the math engine. The same math engine can be used with different user interfaces.

However, the architecture of the system has been moving away from this picture for several years already. Eg:

A second parser has been implemented in the Standard GUI, instead of the kernel.

Some time ago, I had a blog post about a compendium of inequalities,  Some people took a look and found problems in that paper.  So I took the time to track down the author and point him to the mapleprimes page.

He got back to me some time later, thanking me for pointing out the errors.  But in the same email, he pointed me to 2 other papers, http://xxx.lanl.gov/abs/0707.2098 and http://xxx.lanl.gov/abs/0707.2584 which contain (interesting?) conjectures which seem amenable to Maple exploration. I meant to look at these myself, but it has now become clear that I won't for quite some time yet. Perhaps these will pique the curiosity of some MaplePrimes member.

Over on the usenet newsgroup comp.math.soft-sys.maple, someone asked about using Maple's overload facility to redefine the operators such as `*`, `+`, etc.

The difficulty for the submitter is that while overload (and option overload for procedures) can provide enhanced operators for new routines, it doesn't affect routines saved in the Maple Library which already have their bindings. Overloading does not subsequently change the bindings of the operators when used in (most all) Library routines.

One way to try and get around this is to actually redefine the global operators. And since overload is on topic, one can still use it in the replacements that one writes.

In order to redefine global operators one must first unprotect them. They are protected for a very good reason. If the replacements are not adequate then Maple can fail in a multitude of ways. It's a case of caveat emptor.

Has anyone tried the technique used here, to run Maple 12's 32bit Classic GUI with the 64bit Maple 12 kernel binaries, on Linux?

Should I try and update it to work with Maple 11 or 12?

It looks like some symlinks would have to change or be added, relative to the way that I did it for Maple 10.

Has anyone ever tried to do a similar thing on 64bit Windows?

Dave L

Hi there ! The attached worksheet has a good review on the theory of Limits and Continuity of functions that have two or more variables.

The attached worksheet has a specially designed tool that helps you evaluate the limits of really complicated multivariable functions.

 

Please feel free to ask questions.

Limits_and_Continui.mw

For a single pair of left single quotes, ?name is clear:

Any valid Maple name formed without using left single quotes is precisely the same as the name formed by surrounding the name with left single quotes.

So this is fine:

`x`;
                      x

But what about multiple left single quotes? This help page also states:

If you have a standard math, complicated expression in your Maple worksheet that you would like to include in a blog in this venue, what's the most economical way to copy & paste it?

Alla

When inserting standard math into a text region, Maple insists on converting even simple decimals like 0.01 into scientific notation.  Can I suppress that?

Allan

Here's a first working shot at an external, programmatic mechanism for opening .mw worksheets/Documents as new tabs in an already running Maple Standard GUI session.

This involves a `sh` shell script, runnable in Unix/Linux/OSX/cygwin. Maybe someone could post a MS-Windows .bat batch file equivalent.

The basic idea is this: you have a GUI session open. But you want to be able to open other .mw files in that session without having to go through the GUI's File->Open menu every time ...

Maple's Standard GUI has context-sensitive menus. Those are the menus that appear when one right-clicks on a output (or input, in a Dcoument).

Those context-menus can be customized.

Below is an example which adds a new submenu. The new submenu is populated automatically according to the types of thing found within the object itself.

It's an alternative to a menu-item that already exists, which shows up as "Help on Command". But that existing item only...

One way to enhance a package is to add to Maple's context-sensitive menus  some new menu entries which utilize that package's features.

In Maple's Standard GUI, context-sensitive menus (a.k.a. context-menus) appear when the mouse is right-clicked over (input or output) 2D Math expressions.

For a package implemented as a module, new and relevant context-menu entries can be created inside the module's ModuleLoad export. That will cause the new menu entries to be created (automatically...

Large or involved projects may involve Maple modules which rely upon each other. Routines in one module may call routines in another module. Interdependence of modules can have a direct bearing on the available means of successfully utilizing the `use` functionality. In certain situations, some of the ways to utilize the `use` statement can be problematic.

Some such situations, and workarounds, are illustrated below.

The basic description of the `use` statement functionality is,

If x -1 is regarded as the difference of two cubes, can Maple factor it?

Alla

Can Maple graph the Dirichlet function?

f(x) =   {0,   if x is rational
            {1,   if x is irrational

Alla

 

First 41 42 43 44 45 46 47 Last Page 43 of 66