1 Pages (10 items)
Genfit HyperSine - Genfit HyperSine - Messages
#1 Posted: 6/29/2016 9:04:22 PM
There is a bit longer story behind "HyperSine".
For another time when I will publish the "0Appendix"
Jean
Genfit Fit Hypersine.sm (28 KiB) downloaded 74 time(s).
For another time when I will publish the "0Appendix"
Jean
Genfit Fit Hypersine.sm (28 KiB) downloaded 74 time(s).
1 users liked this post
Davide Carpi 7/1/2016 2:12:00 PM
#2 Posted: 6/30/2016 3:55:08 PM
#3 Posted: 6/30/2016 6:08:31 PM
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 Posted: 6/30/2016 7:50:51 PM
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 Posted: 6/30/2016 8:51:17 PM
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](/en-US/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 Posted: 7/1/2016 12:08:35 AM
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 users liked this post
Davide Carpi 7/1/2016 2:12:00 PM
#7 Posted: 7/1/2016 12:36:59 PM
#8 Posted: 7/1/2016 9:32:28 PM
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 KiB) downloaded 49 time(s).
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 KiB) downloaded 49 time(s).
2 users liked this post
#9 Posted: 7/2/2016 6:53:16 AM
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 Pages (10 items)
-
New Posts
-
No New Posts