reverse and interpolation?

reverse and interpolation? - Сообщения

#1 Опубликовано: 18.02.2012 11:45:25
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Опубликовано: 26.02.2012 07:49:44
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений