|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #65618] Complex numbers cant be computed when the value is 0 and in a vector |
Date: | Mon, 22 Apr 2024 01:23:53 -0400 (EDT) |
Follow-up Comment #3, bug #65618 (group octave): `[0*j j 2*j]` is an array of complex double precision floating point numbers. All elements of it are stored as complex. Arrays can't store a mix of complex and real numbers (in a storage type sense). The `0*j` (outside of an array) might look like a complex zero. But it is implicitly converted to real (by the times operator). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65618> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |