The distribution of a list



There are several useful ways to distribute into *n *bins -- equal-sized
bins, equally-spaced bins, near-equal-sum bins (with various definitions of
near-equal), etc.

As far as I know, there are no standard functions to do this, but any of
these should be easy enough to program in the Maxima language.

              -s

On Sun, Jun 10, 2012 at 2:44 PM, Ed Romana <erom at earthlink.net> wrote:

>
> ~~~
>
> Is there a Maxima function that distributes a long list of m floats in to
> n bins
>
> Something like: ldistrib( list, number_of_bins)
>
> returns list of n pairs [[bin_center, bin_sum],...]
>
>
> e
>
> ~~~
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>