1 страниц (10 вхождений)
Genfit HyperSine - Genfit HyperSine - Сообщения
#1 Опубликовано: 29.06.2016 21:04:22
There is a bit longer story behind "HyperSine".
For another time when I will publish the "0Appendix"
Jean
Genfit Fit Hypersine.sm (28 КиБ) скачан 78 раз(а).
For another time when I will publish the "0Appendix"
Jean
Genfit Fit Hypersine.sm (28 КиБ) скачан 78 раз(а).
1 пользователям понравился этот пост
Davide Carpi 01.07.2016 14:12:00
#2 Опубликовано: 30.06.2016 15:55:08
#3 Опубликовано: 30.06.2016 18:08:31
WroteJean:
It does not work for me.
Hello Carlos,
It may have to do with your version and the coding
of some items in the collapsed area. A repair job
for whoever is willing. Maybe Davide, Andrey...
Please: repost your work sheet and the vesion you use.
Genfit algo was created Smath 5346 OFFicial release.
Cheers, Jean
#4 Опубликовано: 30.06.2016 19:50:51
Error code confirmed in your version: "x no definido"
most probably in the collapsed φ(x,β,f,n).
In this module: try this => φ(x,β,f(x),n). If it does
not work ... would be disaster. The most of its power,
Smath 5346 is the "algo style" coding similar to Mathcad 11.
Similar error code may reflect in minimize(XY,f,φ,β).
Jean
most probably in the collapsed φ(x,β,f,n).
In this module: try this => φ(x,β,f(x),n). If it does
not work ... would be disaster. The most of its power,
Smath 5346 is the "algo style" coding similar to Mathcad 11.
Similar error code may reflect in minimize(XY,f,φ,β).
Jean
#5 Опубликовано: 30.06.2016 20:51:17
Using trace() seems that transpose() now holds a symbolic expression if applied in the form f(...):transpose(f(...))); this makes impossible to obtain a numeric result for length() and then proceed in computation of stuff related to k inside minimize; according to Andrey's comments of SS-2335 I suppose is one of the different behaviors of functions able to handle undefined data (like transpose).
You have 2 solutions in current 0.98:
![2016-07-01 01_47_27-SMath Studio Desktop - [Genfit%20Fit%20Hypersine.sm_].png](/ru-RU/file/3aSe6e/2016-07-01-01_47_27-SMath-Studio-Desktop---_Genfit_20Fit_20Hypersine_sm___png)
You have 2 solutions in current 0.98:
- in this case you can simply remove the row φ(x,β):transpose(φ(x,β));
φ(x,β) is a vector and for calculations inside Jean's minimize() there aren't reasons to have it transposed, since linear indexing is used inside these loops); - a more general solution (f.e. if you need transposed vector for matrix multiplication) is to assign the transposed function to a function with a different name: φT(x,β):transpose(φ(x,β))
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 01.07.2016 00:08:35
You are right Davide: in minimize(XY,f,φ,β) both lines
f(x,β):=f(x,β) & φ(x,β):=transpose(φ(x,β)) are redundant,
must be removed.
Jean
f(x,β):=f(x,β) & φ(x,β):=transpose(φ(x,β)) are redundant,
must be removed.
Jean
1 пользователям понравился этот пост
Davide Carpi 01.07.2016 14:12:00
#7 Опубликовано: 01.07.2016 12:36:59
#8 Опубликовано: 01.07.2016 21:32:28
Carlos, Davide:
Here is the maths of "HyperSineCosine". The two lines in question
Have nothing to do in there Smath 5346. I know who put them first
in the module, guess: Jean ! Works fine in Smath 5346.
Interesting to cross check in latest Smath.
Jean

Maths HyperSine.sm (79 КиБ) скачан 51 раз(а).
Here is the maths of "HyperSineCosine". The two lines in question
Have nothing to do in there Smath 5346. I know who put them first
in the module, guess: Jean ! Works fine in Smath 5346.
Interesting to cross check in latest Smath.
Jean
Maths HyperSine.sm (79 КиБ) скачан 51 раз(а).
2 пользователям понравился этот пост
#9 Опубликовано: 02.07.2016 06:53:16
Nice, works fine even in the latest SMath Studio 

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 страниц (10 вхождений)
-
Новые сообщения
-
Нет новых сообщений