[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63181] Empty logical array with []
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #63181] Empty logical array with [] |
Date: |
Sat, 8 Oct 2022 15:27:08 -0400 (EDT) |
Follow-up Comment #7, bug #63181 (project octave):
It is consistent across functions:
++
>> true ([])
ans =
0x0 empty logical array
>> false ([])
ans =
0x0 empty logical array
>> Inf ([])
ans =
[]
>> NaN ([])
ans =
[]
>> ones ([])
ans =
[]
>> zeros ([])
ans =
[]
--
++
>> false ([])
ans =
0x0 empty logical array
>> false (zeros (0, 0))
ans =
0x0 empty logical array
>> false (zeros (0, 1))
ans =
0x0 empty logical array
>> false (zeros (1, 0, 2, 0, 4))
ans =
0x0 empty logical array
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63181>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Guillaume, 2022/10/07
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Markus Mützel, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], John W. Eaton, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Markus Mützel, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Guillaume, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], John W. Eaton, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], John W. Eaton, 2022/10/08
- [Octave-bug-tracker] [bug #63181] Empty logical array with [],
Guillaume <=
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Markus Mützel, 2022/10/09
- [Octave-bug-tracker] [bug #63181] Empty logical array with [], Rik, 2022/10/13