You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function returns [1.87082869 3.74165739 5.61248608] with error estimates [7.75540290e-20 1.55108058e-19 2.32662087e-19] which are not the correct answers (should be [0.5, 0.333, 1.5]).
I'm using numpy version 1.22.3 and scipy version 1.8.0.
Thank you so much.
The text was updated successfully, but these errors were encountered:
bigm128
changed the title
A function with vectorized intervals do not provide correct answers for 1D line segment
A function with vectorized intervals does not provide correct answers for 1D line segment
Apr 28, 2022
I was trying to compute a function with multiple intervals but it keeps failing or gives wrong answers. Here is an example:
which returns:
But if I specify the domain_shape and range_shape in the function call like this:
the function returns [1.87082869 3.74165739 5.61248608] with error estimates [7.75540290e-20 1.55108058e-19 2.32662087e-19] which are not the correct answers (should be [0.5, 0.333, 1.5]).
I'm using numpy version 1.22.3 and scipy version 1.8.0.
Thank you so much.
The text was updated successfully, but these errors were encountered: