|
| From: | Antonio Pino Robles |
| Subject: | [Octave-bug-tracker] [bug #45143] "Infinite ranges" 1:Inf in Matlab, not allowed in Octave |
| Date: | Tue, 19 May 2015 17:59:27 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?45143>
Summary: "Infinite ranges" 1:Inf in Matlab, not allowed in
Octave
Project: GNU Octave
Submitted by: antoniopino
Submitted on: Tue 19 May 2015 05:59:26 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0-rc3
Operating System: GNU/Linux
_______________________________________________________
Details:
The Inf function in Matlab can be used to generate infinite ranges and these
are used to create infinite loops. That is
for i=1:Inf
#do something
end
is equivalent to
while (1)
#do something
end
This form of looping is currently not allowed in Octave.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45143>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |