User Portlet
Discussions |
---|
I feel this is a morally wrong solution, avira not coming back till they fix this. |
Can anyone help me understand why the `Compile` fails here: f = Compile[{{\[Sigma]t, _Real, 1}, {s\[Rho], _Complex, 1}, {dt, _Real, 1}, {x, _Real}, {nnt, _Integer}}, Module[{kz = 1/2 x, \[Sigma] = \[Sigma]t, d = dt, i,... |
Perhaps [this][1] is what you want to learn next. [1]: https://reference.wolfram.com/language/CUDALink/tutorial/Overview.html |
I understand the documentation in a way that `Gather` collects elements which have some property *in common*. |
Not sure `NestWhile` will work in my case: It generates random number and then sees whether there is a matching pattern in a nested list, if yes then replaces that element with it and does sub algebra of merging sublists, if not the just appends it... |
Do I understand correctly that `AccuracyGoal` option in `NonlinearModelFit` specifies the accuracy of the parameters that are sought by fitting? The problem is that when I monitor the steps it is obvious that it quickly reaches the `AccuracyGoal` but... |
Perhaps try NMaximize with constraints on the range of the parameters and Method->"RandomSearch" As with all the other N-functions, all the variables, except those you are asking it to find, must have been assigned specific concrete numerical... |
Do you have a code example or some more details on what your function does? Usually NonlinearModelFit can use almost any function you define previously or within NonlinearModelFit. Did you hand over all relevant variables to the... |
There are ways to use Hold to defer evaluation, but I have not encountered many cases where that is preferable to just defering the entire expression with SetDelayed. In[1]:= tuplesPlus[x_, n_, y_] = Tuples[x, n] + y During... |