Re: correction to pdfxy() description

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 04 2013 - 07:51:11 MDT

I can not remember why I made 'pdf' double but there must have been
a good reason :-)

The documentation will be changed.

D

On 10/3/13 10:14 PM, Jatin Kala wrote:
> Hi Will,
> In the source code for pdfxy, they have around line 11170:
> pdf = new( nbins, "double", getFillValue(x))
>
> Then later:
> return( pdf )
>
> So, it seems the pdf array is pre-allocated as a double array, which would explain why perhaps.
> Does this really matter though?
>
> Cheers,
> Jatin.
>
>
>
> On 04/10/2013, at 1:55 PM, Will Hobbs wrote:
>
>> Hi all
>>
>> The function description for pdfxy() states that the return value is type 'float'; in fact I get a return of type 'double' regardless of the datatype of the x and y arguments.
>>
>> http://www.ncl.ucar.edu/Document/Functions/Contributed/pdfxy.shtml
>>
>> Will
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 4 07:51:15 2013

This archive was generated by hypermail 2.1.8 : Fri Oct 04 2013 - 16:45:17 MDT