Items tagged with modules modules Tagged Items Feed

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...

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...

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.

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. 

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?

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.

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;

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.

I just read Paul Weiss' post in which he describes his troubles uploading files to MaplePrimes.

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 acer 6926 Maple

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,

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 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

Does anyone here use this?

Would it be useful for someone new to topology/homological algebra learning wise ?

comments/opinions very welcomed.

thanks,

dc

http://wwwb.math.rwth-aachen.de/homalg/

This workshop is focused on the intersection of programming languages (PL) and mechanized mathematics systems (MMS). The latter category subsumes present-day computer algebra systems (CAS), interactive proof assistants (PA), and automated theorem provers (ATP), all heading towards fully integrated mechanized mathematical assistants that are expected to emerge eventually (cf. the objective of Calculemus).

This is the second PLMMS workshop, with the first workshop held with Calculemus 2007 in Hagenberg, Austria.

So I have read (correctly?) that I can create an object with maple?

How do I go about that?  Just a push in the right direction, im not looking to do anything crazy at this moment, just an object with an array of numbers, some variables also with meaningful information.

Am I headed in the right direction investigating modules?

 

Thanks!

1 2 Page 1 of 2