hanswurst

368 Reputation

4 Badges

15 years, 38 days

MaplePrimes Activity


These are replies submitted by hanswurst

thanks for your answer. Where can I find this PDF? I found only the Maple14 Advanced Programmer's Guide and there is no chapter 15 :-(

thanks for your answer. Where can I find this PDF? I found only the Maple14 Advanced Programmer's Guide and there is no chapter 15 :-(

I'm not sure, I understood correctly: So you suggest I replace each occurance of h() inside the code of f1 of the package MyLib with "AnotherPackage:-h()"? I think this is the same as I've done via "AnotherPackage[h]".

I tried it that way and it didn't work either.

Maybe I should clarify:

  • There are 2 Packages:  MyLib and AnotherPackage.
  • Mylib contains a function f1 which calls AnotherPackage[h]
  • I try to run everything via "with(MyLib);" and "with(AnotherPackage)" (while the latter might be unnecessary as pointed out by pagan).

I'm not sure, I understood correctly: So you suggest I replace each occurance of h() inside the code of f1 of the package MyLib with "AnotherPackage:-h()"? I think this is the same as I've done via "AnotherPackage[h]".

I tried it that way and it didn't work either.

Maybe I should clarify:

  • There are 2 Packages:  MyLib and AnotherPackage.
  • Mylib contains a function f1 which calls AnotherPackage[h]
  • I try to run everything via "with(MyLib);" and "with(AnotherPackage)" (while the latter might be unnecessary as pointed out by pagan).

thanks for the answers. I will try both, medit and the hotkeybind.

thanks for the answers. I will try both, medit and the hotkeybind.

so even if I do just computations I can't be sure wether f used some global variables and thus mixes up the results? :-(

so even if I do just computations I can't be sure wether f used some global variables and thus mixes up the results? :-(

Thanks for the hint.

I dont's get it nevertheless: if I have a List L, say L=[1,2,3,....,100], and I want to compute for each entry a Funktion f such that I will have LL=[f(1),f(2),f(3),....,f(100)] then it should work to create 100 Threads, compute f(L[i]) for each i and then put each computation back in LL. There can't be errors, or am I wrong?

Thanks for the hint.

I dont's get it nevertheless: if I have a List L, say L=[1,2,3,....,100], and I want to compute for each entry a Funktion f such that I will have LL=[f(1),f(2),f(3),....,f(100)] then it should work to create 100 Threads, compute f(L[i]) for each i and then put each computation back in LL. There can't be errors, or am I wrong?

Page 1 of 1