Tag Info

New answers tagged

1

Found the solution. The problem was somehow in the variables $\mu[i]$, so instead i used variables automatically generated variables Unique["\[Mu]"] which are unique and are numbered in way $\mu 12, \mu 35, ...$, so there is no problem with brackets. Also it was needed to call evaluate inside Do. PartialDerivative[tensor_] := Module[ {tens = tensor, ...


11

Some errors corrected and a few tricks Using memoization, "Precomputing" the solutions by using Reduce once instead of NSolve each time, Rewriting the functions in a compact and more understandable way, Reducing the overall calcs needed, Using NonlinearModelFit with Method -> {"NMinimize", Method -> "NelderMead"} for efficiency Reduced the ...



Top 50 recent answers are included