Jacob into function - gives all zeros?

Jacob into function - gives all zeros? - Сообщения

#1 Опубликовано: 13 лет назад
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

I can not figure out what happened here. I must have missed something maybe, but I suspect that something is wrong with Jacob() function.
Look at this picture please:


Jacob all zeros.sm

or this one:


Jacob wrong.sm

and this will work Ok:




Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Опубликовано: 13 лет назад
Andrey Ivashov

Andrey Ivashov

2 277 сообщений из 3 775 понравились пользователям.

Группа: Super Administrator

Radovan, I've improved Jacob(..) function - now it will show an error message instead of zeros. The thing is that the example you've shown on screenshot is incorrect - you have defined z variable as a 3 components vector of numbers. Jacob(..) function cannot operate with such input data.

Thanks for figuring it out!

Regards.
#3 Опубликовано: 13 лет назад
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Thank you Andrey

I thought there must be something like you explained. It would be quite enough to issue an error message when the arguments are inappropriate. The worst thing is when the faulty results are still returned.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений