[Yt-dev] sigma

david collins antpuncher at gmail.com
Wed Feb 4 09:30:33 PST 2009


I can make it an upper triangular matrix multiply.

You want a weighted sum because the numpy.array.sum function is super
optimized, over looping which is slow?

Are matrix multiplies similarly optimized?

d.

On Wed, Feb 4, 2009 at 8:35 AM, Matthew Turk <matthewturk at gmail.com> wrote:
> Guys,
>
> Dave and I talked last night about standard deviation of profiles.
> Can anybody see how to convert this one-pass algorithm:
>
> http://www.cs.berkeley.edu/~mhoemmen/cs194/Tutorials/variance.pdf
>
> into a weighted-average method?  My brain is not working today.
>
> -Matt
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list