1 страниц (2 вхождений)
reverse and interpolation? - Сообщения
#1 Опубликовано: 18.02.2012 11:45:25
Hello,
Here is a simple problem of interpolating data.

Nothing strange, the vectors X and Y were reversed and the interpolation done. Actually we did not have to reverse the vectors - it would work either way. But the strange thing might be that this will not work until we use Optimization numeric for both X and Y definitions with reverse() function. The error with the symbolic optimization will be "The array dimensions do not match" if we tried to augment(X,Y,points,size). Do not know if this might be a bug but just wanted to report this. The numeric optimization was just my lucky guess.
Regards,
Radovan
Here is a simple problem of interpolating data.

Nothing strange, the vectors X and Y were reversed and the interpolation done. Actually we did not have to reverse the vectors - it would work either way. But the strange thing might be that this will not work until we use Optimization numeric for both X and Y definitions with reverse() function. The error with the symbolic optimization will be "The array dimensions do not match" if we tried to augment(X,Y,points,size). Do not know if this might be a bug but just wanted to report this. The numeric optimization was just my lucky guess.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Опубликовано: 26.02.2012 07:49:44
Hello Andrey,
Although might be out of topic - regarding reverse() function used in drawing data (numeric, symbolic). It still remains that when you want to draw points - you need to use numerical optimization when using reverse(). Just tried the similar problem and I simply could not believe it
!
The time of calculation of this file Lagrange-fast.sm reduced drastically.
v.0.91 - 23.796 s
v.0.92 - 1.625 s
What else to say but one big THANK YOU ANDREY!
Regards,
Radovan
Although might be out of topic - regarding reverse() function used in drawing data (numeric, symbolic). It still remains that when you want to draw points - you need to use numerical optimization when using reverse(). Just tried the similar problem and I simply could not believe it

The time of calculation of this file Lagrange-fast.sm reduced drastically.
v.0.91 - 23.796 s
v.0.92 - 1.625 s
What else to say but one big THANK YOU ANDREY!


Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 страниц (2 вхождений)
-
Новые сообщения
-
Нет новых сообщений