[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dim-vector.h
From: |
Carnë Draug |
Subject: |
Re: dim-vector.h |
Date: |
Wed, 13 May 2015 23:20:43 +0100 |
On 13 May 2015 at 22:04, rik <address@hidden> wrote:
> [...]
> First, there is no single argument constructor in dim-vector.h to create a
> dim_vector with the requested number of dimensions. Why don't we have this
> constructor? It seems like it would be useful. The only possible
> confusion is that people coming from m-files might think that it is
> equivalent to ones (N) which creates an NxN value.
> [...]
Such constructor did exist once upon a time but got deprecated to avoid
exactly that confusion. It got removed for 4.0
http://hg.savannah.gnu.org/hgweb/octave/rev/5b263e517c95#l8.7
This should have been documented with doxygen, I think at the time we
we're not really doing it.
Carnë
- dim-vector.h, rik, 2015/05/13
- Re: dim-vector.h,
Carnë Draug <=