NaN package in Octave Forge shadows some core functions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NaN package in Octave Forge shadows some core functions

José Luis García Pallero
Hello:

I've installed the NaN package from Octave Forge and I obtain some
warnings about function shadowing:

warning: function /opt/octave/share/octave/packages/nan-3.1.4/var.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/median.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/ranks.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/mad.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/cov.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/mean.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/meansq.m
shadows a core library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/prctile.m shadows a core
library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/corrcoef.m shadows a core
library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/std.m
shadows a core library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/detrend.m shadows a core
library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/spearman.m shadows a core
library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/sumsq.m
shadows a built-in function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/center.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/range.m
shadows a core library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/skewness.m shadows a core
library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/quantile.m shadows a core
library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/zscore.m
shadows a core library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/iqr.m
shadows a core library function
warning: function
/opt/octave/share/octave/packages/nan-3.1.4/kurtosis.m shadows a core
library function
warning: function /opt/octave/share/octave/packages/nan-3.1.4/moment.m
shadows a core library function

Should be these functions deleted from the nan package or is safe to
maintain them?

--
*****************************************
José Luis García Pallero
[hidden email]
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

Reply | Threaded
Open this post in threaded view
|

Re: NaN package in Octave Forge shadows some core functions

marco atzeri-2
Am 08.11.2018 um 20:36 schrieb José Luis García Pallero:
> Hello:
>
> I've installed the NaN package from Octave Forge and I obtain some
> warnings about function shadowing:
>
...

> warning: function /opt/octave/share/octave/packages/nan-3.1.4/moment.m
> shadows a core library function
>
> Should be these functions deleted from the nan package or is safe to
> maintain them?
>

The NaN functions provide a different ways to do the things when
NaN values are present

So they are fine if you need to use the package, otherwise
do not load it.


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus