|
From: | Carnë Draug |
Subject: | [Octave-bug-tracker] [bug #45373] complex integers are not yet implemented |
Date: | Mon, 22 Jun 2015 10:52:10 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0 |
URL: <http://savannah.gnu.org/bugs/?45373> Summary: complex integers are not yet implemented Project: GNU Octave Submitted by: carandraug Submitted on: Mon 22 Jun 2015 10:52:09 GMT Category: Interpreter Severity: 1 - Wish Priority: 5 - Normal Item Group: Matlab Compatibility Status: Confirmed Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: I didn't know these even existed so I'm listing them here as unimplemented. I came across these on this stack overflow question http://stackoverflow.com/questions/30923613/how-do-i-make-complex-int16-numbers-in-octave Apparently complex numbers can be any of the integer classes: >> a = 8.3+4.9j a = 8.3000 + 4.9000i >> a8 = int8 (a) a8 = 8 + 5i >> au8 = uint8 (a) au8 = 8 + 5i >> a16 = int16 (a) a16 = 8 + 5i >> au16 = uint16 (a) au16 = 8 + 5i >> a32 = int32 (a) a32 = 8 + 5i >> au32 = uint32 (a) au32 = 8 + 5i >> a64 = int64 (a) a64 = 8 + 5i >> au64 = uint64 (a) au64 = 8 + 5i >> whos Name Size Bytes Class Attributes a 1x1 16 double complex a16 1x1 4 int16 complex a32 1x1 8 int32 complex a64 1x1 16 int64 complex a8 1x1 2 int8 complex au16 1x1 4 uint16 complex au32 1x1 8 uint32 complex au64 1x1 16 uint64 complex au8 1x1 2 uint8 complex _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45373> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |