In a previous post I described how to call OpenMaple from a C# application (see: Using OpenMaple with C#) Now, I'd like to tackle the reverse problem: how do I call a C# .dll from within Maple? The way to do this involves using Component Object Model (COM) interoperability in the Microsoft .NET Framework. Because Maple's kernel is written in an "unmanaged" language, a wrapper is needed in order to bridge to your managed C# code. This article will outline the steps needed to create this bridge and get Maple talking to C#.

A while ago, I tried to understand the dynamics of a tricky 3-D system. Back then I received great help from Robert Israel and Doug Meade. After leaving the problem aside for a while, I'm giving it another shot.

I'm working with a PDE system, I want to bring it from the conservative(or divergent) to not-conservative form. So I have to do some derivatives. I'm working in vectorial form.

The Maplesoft office is currently in the process of being burried in snow and many of us are getting ready to head off for the holidays. Before leaving, I wanted to share this great animated GIF created using 3d plots. It was sent to me by Bruce Char at Drexel University. The greeting and the Maple script to generate it are after the break.

Hi there,

So my problem is to find the solution(s) of a 3-D system. I can get Maple to spit out a solution (at times), but I am looking for reassurance that this is indeed the solution (if unique, and if not what the other solutions may be). Increasing Digits makes Maple "lose" the solution and return a blank-- normal behavior? Looking at the 3-D plot of the system offers something to puzzle over.

I set up the system in (x,c,q):

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.

I have a nasty expression that solves for eigenvalues of pressure & shear waves propagating along an interface between 2 elastic media. There are many roots to this expression for eta, but many of them can be excluded because the material properties are both REAL & POSITIVE. I am very new to MAPLE & I am attempting to get it to solve for the roots where all of the other parameters meet the conditions of REAL & POSITIVE but I am not sure I am doing this correctly because MAPLE runs off to evaluation mode & takes so much memory my computer slows to a crawl &

restart; interface(version); Classic Worksheet Interface, Maple 12.00, Windows, Apr 10 2008 Build ID 347164 Int(1/(u^2+1/4)*exp(I*u*k),u=-infinity...infinity); value(%); 0 but Int(1/(u^2+1/4)*exp(I*u*k),u=-infinity...infinity...

Ever since upgrading to Ubuntu 8.04 I get Java debug messages when starting xmaple or when running maplets from the commandline maple. They look like this:

I'm running Ubuntu 8.04 on an AMD Athlon64-X2 (AMD64), and found that "xmaple" did not work right out-of-the-box when I first got Maple 12. There was a bunch of error messages in the terminal I started it from regarding lock assertions or libraries not found, printed by the X-Windows libraries. I also had the problem where it won't print via CUPS.

Hi Everyone!

I want to export several Figures with Maple at the same time. I tried

with(plots):

for i from 1 to 5 do interface(plotdevice=ps, plotoutput=`c:/test||i.eps`, plotoptions=`color,portrait,

od:

but it did not work. How can I create one file per Figure?

Thanks a lot,

Bernardo

This behaviour of 'assume' puzzles me ... and it needed some time to locate it restart; interface(version); Classic Worksheet Interface, Maple 12.00, Windows, Apr 10 2008 Build ID 347164 assume(a::real); #a:='a'; # activating removes the problem f0:=x+a; #a:='a'; # that would not help - since is in use? assume(0<a); f:=collect(f0,x); ...

The help page ?type/protected states:

The set of protected names in Maple can be computed with select(type, {unames(), anames(anything)}, protected).

However, the result of this computation is "time dependent". I.e. repeated execution of this command produce different sets. E.g. executed in a fresh session:

Hi. I'm trying to compute a posterior distribution (Bayesian inference), which requires integration. I have set up the integral and have attempted to solve it numerically using evalf(Int...) with Maple 12 Worksheet interface and the command-line version. When executing with Maple 12, I eventually (hours later) get a error - "connection to kernel lost". When executing with the command-line, eventually the process seems to terminate. The information about memory used stops updating and nothing happens. Here is my code:

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.