[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Attn: Patch Re: `size' and trailing singleton dimensions
From: |
David Bateman |
Subject: |
Attn: Patch Re: `size' and trailing singleton dimensions |
Date: |
Tue, 29 Jun 2004 13:51:44 +0200 |
User-agent: |
Mutt/1.4.1i |
Ok, now that I think about it I think I agree with you that size(a,n)
should return 1 for the trailing singleton dimensions, and that this
behaviour is consistent with Matlab.
Anyway, here is a patch that does
data.cc (Fsize): return 1 for dimensions exceeding ndim
Regards
David
According to Peter J. Acklam <address@hidden> (on 06/29/04):
> David Bateman <address@hidden> wrote:
>
> > Peter J. Acklam <address@hidden> (on 06/28/04):
> > >
> > > > The N-D stuff is a moving target, that is trying to
> > > > implement this stuff correctly.
> > >
> > > In what way has the N-D stuff been a moving target? I can't
> > > think of anything that has changed since it was introduced.
> >
> > In octave I meant.
>
> Ok, I see.
>
> > At least I think I did, as I wrote this so long ago...
>
> I'm sorry I was so late to reply.
>
> Peter
>
> --
> Peter J. Acklam - address@hidden - http://home.online.no/~pjacklam
>
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
--
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.size
Description: Text document