comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » moment functions with dimen keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: moment functions with dimen keyword [message #63856 is a reply to message #63797] Thu, 20 November 2008 07:22 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
FĂ–LDY Lajos wrote:
> On Thu, 20 Nov 2008, Paolo wrote:
>
>> I have done the same last year with moment....
>> and I am sure many others did! (to save execution
>> time, I added a keyword maxmoment, such that it
>> does not compute the kurtosis if I only need the average).
>
> IDL 6.4's MOMENT has a MAXMOMENT keyword. Use the source, Luke!

Correct my statement "I added" to "RSI added"
(it's hard to remember what I did last week,
not to mention one year ago...)
Yes, I shamelessy modified the source code.
But I am not distributing it, so I don't think
I am in violation of copyright.

Ciao,
Paolo



> (not the documentation :-)
>
> regards,
> lajos
>
> ; CALLING SEQUENCE:
> ; Result = Moment(X)
> ;
> ; INPUTS:
> ; X: An N-element vector of type integer, float or double.
> ;
> ; KEYWORD PARAMETERS:
> ; DOUBLE: IF set to a non-zero value, computations are done in
> ; double precision arithmetic.
> ;
> ; MDEV: Use this keyword to specify a named variable which returns
> ; the mean absolute deviation of X.
> ;
> ; SDEV: Use this keyword to specify a named variable which returns
> ; the standard deviation of X.
> ;
> ; MAXMOMENT:
> ; Use this keyword to limit the number of moments:
> ; Maxmoment = 1 Calculate only the mean.
> ; Maxmoment = 2 Calculate the mean and variance.
> ; Maxmoment = 3 Calculate the mean, variance, and skewness.
> ; Maxmoment = 4 Calculate the mean, variance, skewness,
> ; and kurtosis (the default).
> ;
> ; NAN: Treat NaN elements as missing data.
> ; (Due to problems with IEEE support on some platforms,
> ; infinite data will be treated as missing as well. )
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Why the contour does not show?
Next Topic: Too Many Posts

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:33:06 PDT 2025

Total time taken to generate the page: 0.00202 seconds