1 страниц (4 вхождений)
Weird Result from Range - Сообщения
For n=5, the result is right.
But for n=6, it's supposed to have 7 elements instead of 6
Файл не найден.Файл не найден.
But for n=6, it's supposed to have 7 elements instead of 6
Файл не найден.Файл не найден.
Wrong way to discretize a range.
WroteFor n=5, the result is right.
But for n=6, it's supposed to have 7 elements instead of 6
Probably something about precision of double type. In the second range if you add a 10^-14 to the uppper bound it return the expected vector.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 пользователям понравился этот пост
n even starts being exact ... n 10
n odd stops being exact ..... n 15
You have no control on numerical arithmetic.
n odd stops being exact ..... n 15
You have no control on numerical arithmetic.
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений