[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Attn: Patch - fix for b=ones(2,1,1);b(2,:,:)=1
From: |
David Bateman |
Subject: |
Attn: Patch - fix for b=ones(2,1,1);b(2,:,:)=1 |
Date: |
Wed, 2 Jun 2004 17:41:59 +0200 |
User-agent: |
Mutt/1.4.1i |
It should be possible to refer to non-existent dimensions by a magic
colon, in which case the dimension is considered to be singleton. The
following patch therefore allows "b=ones(2,1,1);b(2,:,:)=1" to work as
expected...
The changelog is
* Array.cc (assignN): allow magic colon for dimensions lvalue
greater than the existing number of dimensions in lvalue.
Regards
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
patch.array
Description: Text document
- Attn: Patch - fix for b=ones(2,1,1);b(2,:,:)=1,
David Bateman <=