[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62972] 2D integrals conjugate complex numbers
From: |
INVALID.NOREPLY |
Subject: |
[Octave-bug-tracker] [bug #62972] 2D integrals conjugate complex numbers |
Date: |
Sun, 28 Aug 2022 11:00:42 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62972>
Summary: 2D integrals conjugate complex numbers
Project: GNU Octave
Submitter: oshbug
Submitted: Sun 28 Aug 2022 03:00:41 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 28 Aug 2022 03:00:41 PM UTC By: Anonymous
Both of
quad2d(@(x,y) i, 0,1,0,1)
integral2(@(x,y) i, 0,1,0,1)
give the answer to this integral as 0-1i, but clearly it is 0+1i. This is
confirmed by Wolfram Alpha:
https://www.wolframalpha.com/input?i=Integrate+i+dx+dy+from+x%3D0+to+x%3D1+and+y%3D0+to+y%3D1
Generally, it seems that both these functions correctly integrate functions
with complex outputs, but then return the complex conjugate of the correct
answer. E.g. if the answer should be 1+i, they return 1-i.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62972>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62972] 2D integrals conjugate complex numbers,
INVALID.NOREPLY <=