[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56152] Argument 'all' for functions any and a
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #56152] Argument 'all' for functions any and all not available |
Date: |
Wed, 17 Apr 2019 12:19:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?56152>
Summary: Argument 'all' for functions any and all not
available
Project: GNU Octave
Submitted by: None
Submitted on: Wed 17 Apr 2019 04:19:51 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.3
Operating System: GNU/Linux
_______________________________________________________
Details:
The following is valid MatLab code (2018b)
+
a = reshape(1:36, 6, 6);
any(a>5, 'all')
all(a>5, 'all')
--
with result 1 (true).
In octave 4.0.3 i get the error
++
error: invalid conversion from string to real scalar
error: octave_base_value::int_value (): wrong type argument 'sq_string'
error: all: expecting dimension argument to be an integer
--
Differences between octave and matlab are considered a bug (at least according
to wikipedia), and as both the FAQ
(https://wiki.octave.org/FAQ#Differences_between_Octave_and_Matlab) and the
trouble section of the documentation
(https://octave.org/doc/interpreter/Trouble.html#Trouble) do not mention this
as an exception, I would think so too.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56152>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56152] Argument 'all' for functions any and all not available,
anonymous <=