[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create a logical array of 0
From: |
John W. Eaton |
Subject: |
Re: Create a logical array of 0 |
Date: |
Fri, 3 Sep 2004 21:13:18 -0400 |
On 3-Sep-2004, David Bateman <address@hidden> wrote:
| Ok, I attach a patch that addresses the concatenation of boolean
| scalars and matrices, and the indexing of booleans and integers.
| The patch also addresses the issues with repmat...
|
| Log below showing that the patch works as expected...
I applied your patch and some additional changes to allow things like
x = false
x(10) = false
and
x = false
x(2:3) = false
and
x = false
x(2:3,2:3) = logical (eye (2))
to work correctly (not converting the lhs to a double matrix).
Thanks,
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
RE: Create a logical array of 0, Randy Gober, 2004/09/03
Re: Create a logical array of 0, David Bateman, 2004/09/03
Re: Create a logical array of 0, Josep Monés i Teixidor, 2004/09/03
Re: Create a logical array of 0, John W. Eaton, 2004/09/03