Thanks to the function Exports, it is possible to see the differents functions and modules which are in a module.
For example, I find in the module GetMultibody a module called GetLGM which permits to conduct some linear graph analysis. I'm interested by this module.
However, to my knowledge, I didn't see any help on this module.
How can I do so as to understand the inputs to give to the functions of this module in order to use the functions of this module ? In other words, how it is possible to use functions from a module when you don't have any help at your disposal ?
Thanks a lot for your help.
I have three procedures with calling struture:
> call B (argseq)
> call C (argseq)
> etc code
> return results
Procedures A, B, C are defined in a single MAPLE .mw worksheet, and each time I use them I have to reload them by pressing return.
Please can you suggest the best course of action? I have been reading about modules but am not certain that A knows about B and C in the dame module when it calls them
Can anyone help please?
In a simulation code I use "module-factory" concepts (where a module has a proc; the proc in turn returns another module that has all the procs one wants) a fair bit to keep the code readable and maintainable.
At this point I have the code mostly doing what I want it to, but the run time could be improved (read: I want it to go faster). So I have started working with CodeTools:-Profiling. Quickly I am running into the Profile() function apparently not being able to deal with my generated procedures.
Is there a way out? In other locations I read about procs to be profiled having to be in a Maple library; this is the case for my routines (it all is in a big module with procs, submodules etc.). I'd rather not rewrite the code extensively just to allow profiling (in particular I would not really like to abandon the module-factory scheme), but of course I can do some modification.
July 28 2014
how to find 6x^2 +5x+1 mod 2x+1 ? please using maple slove
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.
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
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
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...
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...
To see the body of a procedure in Optimization[Interactive] module, i use this method:
interface(verboseproc = 2);
kernelopts(opaquemodules = false);
but "too many levels of recursion" Error occurs!
Note that this method works for other procedures in this module, for example test it for
What is problem for "BC"? and what is the solution?
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.
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?
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.
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:
export diffindice, doublederivcov,Dimensione,mix, Test_Symmetry, Double_dag ;
export Coords,A,M,G, Abstraction;
global X, c, dimensione,abstraction;