[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecating statistics/base/values.m
From: |
Jaroslav Hajek |
Subject: |
Re: Deprecating statistics/base/values.m |
Date: |
Tue, 10 Aug 2010 08:46:03 +0200 |
On Mon, Aug 9, 2010 at 6:00 PM, Rik <address@hidden> wrote:
>
>>
>> I took a quick look. There is a slight difference. Values always returns
>> a Nx1 vector. Which is equivalent to ...
>>
>> values = @(x) unique (x)(:)
>
> This is why I want to deprecate the function, rather than just immediately
> remove it. The function will continue to exist for at least one more
> Octave release and, in the mean time, will print out a warning that the
> function is scheduled to be removed. This allows anyone using the function
> to re-code. In this case to unique(x(:)), if having a column vector is
> important.
>
I agree with deprecating this one. We did so with "complement" and "create_set".
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz