355 Reputation

6 Badges

5 years, 155 days

MaplePrimes Activity

These are replies submitted by emendes

@nm Thanks.  I've already tried that but it does not make much difference when searching huge lists.   

@Joe Riel Many thanks.

@Joe Riel Thank you.   Please help me out. Somehow I always use list in my procedures.  Since the procedure shown above is used after a series of calculations, would the use of array still be recommended?   Converting from one type to another type is time and memory consuming, right?   

@acer Many thanks.  They seem to pretty fast. I will do some testing and will let you know.  

@acer Many thanks for pointing them out.   They both work for me.   My question is: would they cope with a list of 80 million elements?  


I have just checked both commands using a list of 500,000 elements and they are pretty fast.  

@acer Thanks.  I mean the size of the partition is fixed for all partitions, except for possibly the last one.  In the original code chunk was misspelled in all instances and the code works.  

@Carl Love Many thanks.  Although nchunk is the size of the partition, your solution works for me too.  

@acer Many thanks.   I should have thought of that but I didn't.  I hope they fix that in the next version of the manual.  

@nm Many thanks.   In the question above I did miss the first double quotes but unfortunately, I didn't miss them in the command line so the question still stands.  


@Carl Love Many thanks.  I guess I won't be able to use Thread since proc1 uses basically solve

Where do I find that a Maple command is threadsafe?   

My problem:

for n from 5 to 7 from 1 do
end do:

Only arg1 changes.

The loop only works for n=5 (first value).   On the second iteration, Maple returns an error msg.

Error, (in priqueue:-extract) mismatched multiple assignment of 2 variables on the left side and 1 values on the right side



@Carl Love Thank you.   Indeed it is faster than the previous version.   

@Carl Love 

  1. It is infeasible but at least I can check the sets for small N's.  Say, N=3,4,5,6 and maybe 7.  
  2. Great!  Many thanks.   nterms makes sense, doesn't it?
  3. Okay.
  4. Excellent!  Many thanks. 
  5. Okay,
  6. Okay,
  7. I checked for one specific set, S:={[1,0],[1,1],[1,2],[1,3],[1,5],[2,1],[3,1]} and CondCheck showed me that all conditions were satisfied.  (I must confess that seeing that that particular S does not satisfy condition 3 (which is out and should stay out) gives me a lot to think).  
  8. I am not sure what you meant by one problem at the time. 
  9. N=15 is still running in the Linux server.  As soon as it finishes, I'll try the new Symmetries.  As for the details, I would not dare to ask any questions.  
  10. Okay.  







@Carl Love Many thanks.  It seems that you don't need me to comment on the code.  Your comments say it all. I have nothing to add.  


  1. Can you explain how the symmetry condition works given an S that fulfills all other conditions? Suppose we have S and the symmetric set S'.  How is S' left out of Result?   


I couldn't test if the new code is much faster but I will soon.

Many thanks for CondCheck.  This function will help me to check an earlier idea.   

@Carl Love  Thanks.

FullDeg is much better,  Thank you.

nterms is the function in my answer "Example of parms".  It uses nIs and deg as in the answer.  Since it can be calculated using nIs and deg, I don't see the point of having it as an input parameter.

Doable -  I also think so, that is the reason I asked for help on Grid-Seq in another post.  

The situation after two hours running can be seen below:

Rolling large chunks - We will definitely need that.  Cubic - Binomial(60,30) = 118264581564861424.  No way!   

Since we need all indeterminates presented in index i, can we divide the problem? Binomial(20,?)*Bonomial(20,??)*Binomial(20,???) where ?+??+??? is the n of the tuple we need to find. 

@Carl Love Only writing the examples (the two pdfs) is that I realized that Nonlinear meant nonlinear with a certain degree.

Example1: (Properties_Cubic_3Dforms.pdf):  The highest degree of the polynomial in that example is 3 and the first element to have it is element number 10:  x^3. if I set Nonlinear to 4, the quadratic models will be part of the result.  I don't need them anymore, Symmetries.mw, as it is, gives me all of them. 

Example2:(Properties_Quad_4Dfroms.pdf): The highest degree of the polynomial is 2 and the first element to have it is element number 5: wˆ2. 

I think


shows exactly that.   

  1. Agreed. 
  2. No, we have to come up with a better name.  Perhaps Full-D form (short for full dimensional form).  
  3. Great.  I was thinking if SubsetsI contains all subsets of sizes 1..nIs-1, would condition 6 encompass condition 5? 


I left the Linux box running the worst-case scenario, that is, 15-tuple. 

3 4 5 6 7 8 9 Last Page 5 of 16