Items tagged with packages packages Tagged Items Feed

with vs use vs uses

May 07 2013 by awass 156 Maple

I have a question about the different possibilities for calling a little used function from a package. It seems that there are three ways to do that:

1) Load the package and use te short form of the call e.g.
> with(combinat);
>randperm(5);

2) just load the command e.g.

>with(combinat,randperm);
>randperm(5);

3) use the long form of the call e.g.

>combinat[randperm](5)

4) with the use command e.g.

Loading a customised package on my computer I can use all of its functions easily. But I am looking to find the maple code of the procedure that make this function works, I am sure there is a trick but I am struggling to find it. I researched online quite a bit without any success as the threads I found about making your own packages are too technical for me.
Would anyone know how to do that?

Thanks in advance.
P.K

A maple package template?

October 04 2012 by LijiH 80 Maple

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
Page 1 of 1