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

Home » Public Forums » archive » Histogram quickie
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Histogram quickie [message #51793] Fri, 08 December 2006 10:55 Go to previous message
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Hi all,

I'm a long time where() fan, but trying to learn to wield this histogram
beast. I'm working on an algorithm, and would like a way to divide an
array of values into two bins, such that the sum of each bin is roughly
equal. The values have no fixed distribution, so I expect the bin sizes to
be non-uniform.

This sort of problem seems an ideal place to start earning my histogram
badge, but I have to confess to only being able to think of
brute-force-type solutions. Any suggestions?

cheers
chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL with command line like input, (in EFTS -EUMETSAT)
Next Topic: Record keeping

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

Current Time: Wed Dec 03 06:53:30 PST 2025

Total time taken to generate the page: 3.60597 seconds