help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package nan warnings


From: Alois Schloegl
Subject: Re: package nan warnings
Date: Thu, 02 Aug 2012 22:31:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11

On 2012-08-02 21:42, Yin, Yue-Jun wrote:
Alois,
Thank you. I got your point about the agreement issue.
What is the consequence of shadowing?

"Shadowing" occurs when there are two functions within the path. When calling such a function, the first in the path will be used and the second one is not accessible.


The performance is enhanced or the other way?

My understanding is that shadowing per se does not have any significant influence on the performence. However, the different implementations might differ.

The idea of the NaN-toolbox is that missing values encoded as nan's are "ignored" or skipped. For statistical functions, this is the behavior you typically want. Internally, it requires an additional check for isnan, which can cause some performance penalty. However, the NaN-toolbox does also some smart data handling such that these effects are mitigated. However, the user of NaN-toolbox gets a proper answer, even if some values are missing, he/she does not need to worry about how to deal with missing values, and perhaps get it wrong.

Alois


Regards
yuejun

-----Original Message-----
From: Alois Schloegl [mailto:address@hidden
Sent: Thursday, August 02, 2012 2:54 PM
To: Carnë Draug
Cc: Yin, Yue-Jun; address@hidden; Octave Forge
Subject: Re: package nan warnings

Version 2.5.6 (available from here:
    http://pub.ist.ac.at/~schloegl/matlab/NaN/
fixes the "mexext: Command not found" message.

As Carne pointed out, I cannot do anything about the warning on shadowing core 
functions without agreement of the octave maintainers.


     Alois




On 2012-08-01 23:13, Carnë Draug wrote:
On 1 August 2012 19:11, Yin, Yue-Jun<address@hidden>   wrote:
Hi all,
I got these message when I install nan package

the nan is a package therefore it's not part of the octave project.
It's part of Octave Forge so I'm sending this e-mail to that mailing
list. Also, it's author and maintainer is Alois Scholoegl to whom I'm
also sending this e-mail.

octave:3>   pkg install C:\Users\i50230\Downloads\nan-2.5.5.tar.gz

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

make: Entering directory `/tmp/oct-2/NaN/src'

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found

I believe this is related to
http://gnu-octave-repository.2306053.n4.nabble.com/Re-strange-message-while-installing-tsa-4-2-4-tar-gz-package-td4647905.html
and which has been reported at
https://sourceforge.net/tracker/?func=detail&aid=3552548&group_id=2888&atid=102888

tron.cpp:1:0: warning: -fPIC ignored for target (all code is position
independen

t)

linear.cpp:1:0: warning: -fPIC ignored for target (all code is position
independ

ent)

linear.cpp:2111:13: warning: unused parameter 'prob'

svm.cpp:1:0: warning: -fPIC ignored for target (all code is position
independent

)
Could

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\center.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\cor.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\corrcoef.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\cov.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\detrend.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\iqr.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\kurtosis.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\mean.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\meansq.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\median.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\moment.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\normcdf.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\norminv.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\normpdf.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\prctile.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\quantile.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\range.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\ranks.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\skewness.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\spearman.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\std.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\sumsq.m shadows a built-in function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\tcdf.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\tinv.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\tpdf.m shadows a core library function

warning: function
C:\Octave\Octave3.4.3_gcc4.5.2\Octave3.4.3_gcc4.5.2\share\octa

ve\packages\nan-2.5.5\var.m shadows a core library function


Any idea how to get rid of them? Regards,

The nan package does shadow (replaces) all those core functions. Do
you understand what that means? And no, it's not possible to remove
those warnings other than changing the octave source.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]