emendes

455 Reputation

6 Badges

8 years, 99 days

MaplePrimes Activity


These are replies submitted by emendes

@Carl Love Thanks.  Does creating another variable, T1,  cause memory issues?   

@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
   ans:=CodeTools:-Usage([Threads:-Seq(proc1(arg1[i],arg2,arg3,arg4)),i=1..nops(arg1))])
   .....
   arg1:=...
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.  

Question:

  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. 

First 7 8 9 10 11 12 13 Last Page 9 of 21