|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #57671] Complex numbers in array gives NaN |
Date: | Sun, 26 Jan 2020 18:18:42 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL: <https://savannah.gnu.org/bugs/?57671> Summary: Complex numbers in array gives NaN Project: GNU Octave Submitted by: None Submitted on: Sun 26 Jan 2020 11:18:40 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Assigned to: None Originator Name: gs Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.2 Operating System: GNU/Linux _______________________________________________________ Details: j is the complex operator note the NaN in the last one >> (j*[0]).^[2 1 0] ans = 0 0 1 >> (j*[1]).^[2 1 0] ans = -1 + 0i 0 + 1i 1 + 0i >> (j*[0;1]).^[2 1 0] ans = 0.00000 + 0.00000i 0.00000 + 0.00000i NaN - NaNi -1.00000 + 0.00000i 0.00000 + 1.00000i 1.00000 + 0.00000i _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57671> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |