User Portlet User Portlet

Discussions
Hi, I have a looped function, which includes a Map operation, that I've optimized for serial computation whose computation time grows roughly proportional to (N^2+N)/2, where N is the length of the loop. The bottle neck happens at the Map...
Hi Jason, I just tested that with my code and for a very small dataset (8 items) it improves speed by ~1.3% (5.757 s -> 5.684 s), and for a slightly larger dataset (210 items) by ~4% (165.150 s -> 158.59 s). I expect it to greatly increase my...
I have verified that the suggested Tuples approach does not produce the desired result. To produce the same result as my table approach (which is all ORDERED combinations of the parts) one would have to do something along the lines of ...
As for why FullSimplify[hamil1-hamil2] is not reducing to a zero matrix, one would need to do either FullSimplify@ComplexExpand[hamil1-hamil2] or FullSimplify@ExpToTrig[hamil1-hamil2] since FullSimplify does not...
Hi, I have checked and Parallel Kernel Configuration (local) reads: Automatic: 8 kernels Number of processor cores is 8 "Limit by license availability (8)" is checked "Use hard limit:16 + -" is checked The rest in that block is...
Hans, Great and thank you very much.
Hi Rohit, I initially misunderstood the meaning of your answer, which is close to being what I need. The problem I found with exp/.Times[Power[a_,1/2],Power[b_,1/2]]:>Power[a b,1/2] was that it fails whenever there are more than two squareroots...
Hi, As the title says, I'm trying to find reaction rate constants using FindFit. Unfortunately, I'm getting the error "FindFit::nrlnum: The function value ... is not a list of real numbers with \ dimensions {512} at {Amp,k1,k1r,k3,k3r,k19,k20}...