[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication |
Date: |
Tue, 3 Nov 2020 12:52:41 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #2, bug #59403 (project octave):
I changed the example to be
function r = fxy (x, y)
size (x), size (y),
r = sinc (x) * sinc (y);
end
integral2 (@fxy, -1, 1, -1, 1)
and I see
ans =
15 15
ans =
15 15
ans =
15 15
ans =
15 15
ans =
15 15
ans =
15 15
ans =
15 15
ans =
15 15
ans = 12.328
So, unfortunately, the integration function has selected X, Y values that do
conform for matrix multiplication. So I don't see how we would detect an
error here.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59403>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication, Luis Kao, 2020/11/03
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication, Rik, 2020/11/03
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication,
John W. Eaton <=
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication, Rik, 2020/11/05
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication, Luis Kao, 2020/11/05
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not catch incorrect dimensions for matrix multiplication, Rik, 2020/11/05
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, Rik, 2020/11/05
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, David Bateman, 2020/11/12
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, Luis Kao, 2020/11/14
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, Luis Kao, 2020/11/14
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, John W. Eaton, 2020/11/14
- [Octave-bug-tracker] [bug #59403] integral2 and quad2d functions do not accurately document form of integrand function F, Luis Kao, 2020/11/14