# Items tagged with modulesmodules Tagged Items Feed

### Projects Integration (C/C++, Java, Fortran...

December 05 2012 by Maple

2

0

This tutorial shows how to setup a dual-language project such as Maple/Java or Maple/C in Maple IDE. In the end of the article you can find some links for further reading.

Maple Connectivity

The integration of Maple projects with other Eclipse projects is designed for seamless development and building of your C, Fortran, or Java code for Maple using External Calling package.

Maple Project can be mixed with

### A maple package template?

October 04 2012 by Maple

1

2

is there a simple maple package template that i can look at?

I wrote a module with about 30 procs, i want to make it into a package but I don't really know where to start.

all i need is an existing package that i can simply

• rename the title
• swap the code with my own code
• swap the example with my own example

July 04 2012 by Maple 16

0

7

I have written a (rather extensive) module, which I can load without problems if I run it in the following way:

restart: libname:="C:\\PathToLib",libname; with(NameOfLib);

Note that the above is all in one line and executed at once. If, however, I load the library like above, but line by line, the loading fails, giving the error "Error, Did not recognize this structure's syntax".

How can there be a difference...

### viewing source of module local procedure...

October 14 2010 by

7

7

There are a few ways to view the source of a Maple procedure, such as by using the commands  showstat and print. And these work as usual for the exports of a module. But for procedures which are declared as local to a module these methods do not work right away since by default modules' contents are opaque.

One way around this is to change a setting, by issuing kernelopts(opaquemodules=false) prior to attempting...

### Saving dsolve numeric solution

June 21 2010 by Maple 12

2

2

Hi, im Gabriel from chile, and probably my english wouldnt be very good :P.

Im working on a problem that needs to be solved numerically, its a set of coupled non linear equations. Im succefull in finding the solution given a set of initial conditions, but the problem I have is when I try to save those solutions.

I want to save them in a .m file to fully recover it when I start the session again (it take some time in find the solution, and I have to iterate the...

### To see the body of a procedure

February 14 2010 by Maple

0

3

Hi, To see the body of a procedure in Optimization[Interactive] module, i use this method: interface(verboseproc = 2); kernelopts(opaquemodules = false); print(Optimization[Interactive][BC]); but "too many levels of recursion" Error occurs! Note that this method works for other procedures in this module, for example test it for Optimization[Interactive][InittoText]. What is problem for "BC"? and what is the solution? thanks.

February 03 2010 by Maple

1

0

 The following interaction with Maple's Excel link came to my attention today.  I thought it had many interesting points that lead to insights about Excel and Maple that are worth sharing.

### problem viewing response to my tthread

October 21 2009 by Maple

0

3

hi! i get the following error when i try to see response to my thread coeff problem in maple 13. Fatal error: Call to undefined function getgif() in C:\xampp\htdocs\modules\maplemath\maplemath.module on line 30 how can i fix it?

### EvalMapleStatement(CodeGeneration[C...

July 21 2009 by

0

4

Hello,

I am maintaining a C++ application that requires Maple code generation features to produce C code.

This application uses the EvalMapleStatement (kv, statement) function, where 'statement' is actually a CodeGeneration[C](...); command.

The application has worked correctly before, and the generated code has been incorporated as modules into other applications that make use of it.

### Using the export of a module in another...

May 23 2009 by Maple

0

3

Hi

Some time ago I started to write my own modules.
I've a problem with a module calling an export of another one. Both have the "package" option.

The first module, Math_Tools_ex export a "diffindice" procedure. I copy here the relevant part of the code:

####################################
Math_Tools_ex:=module()

export diffindice, doublederivcov,Dimensione,mix, Test_Symmetry, Double_dag ;
export Coords,A,M,G, Abstraction;
global X, c, dimensione,abstraction;

### splitting worksheet across multiple...

January 21 2009 by Maple

0

5

I am looking for some practical advice on how the cool kids split a Maple worksheet across multiple files. I have been reading through the help sections on procedures and modules, but most of the information is for self-contained sections of code in one file. I have come across some info in the help sections on using multiple files, but I am hoping to find out if there is a standard, recommended way of doing this.

November 20 2008 by

0

2

Earlier yesterday (19 Nov 2008) I experienced a similar problem when I was trying to upload a GIF file to include with one of my posts.

In my case, after I selected the file I wanted to upload, I was showed an earlier file that I had uploaded to MaplePrimes. Based on what I see in Paul's earlier post it appears as though he was trying to upload two files and the second file was really just a duplicate of the first one.

### using use

September 19 2008 by Maple

4

4

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,

### Procedure/Module description

July 24 2008 by Maple

0

4

I write a lot of maple code that my advisor uses, and I'm wanting to make it easier for him to use with as little extra work on my side as possible. Most recently I've started using modules to hold the procedures that go together. For example, I may have something like this

Resultants := module()
description "This uses various methods to find resultants.":
export UResultant, MacaulayResultant:

MacaulayResultant := proc(F,vars)
-- description and code
end proc:

### View button and errors in the user account...

May 01 2008 by

0

4

View button in the user account (right next to the name) points to the same page where it is located. What is the purpose of it then?

By the way, the user account page has quite a few errors in it. In IE7 it loads with a message "Done, but with errors on page" in the status bar, and Firefox outputs the following warnings and an error message in the error console:

Warning: Error in parsing value for property 'display'.  Declaration dropped.
Source File: http://www.mapleprimes.com/modules/system/defaults.css
Line: 43

 1 2 3 Page 1 of 3