From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26214 invoked by alias); 12 Oct 2004 02:36:06 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 26205 invoked from network); 12 Oct 2004 02:36:05 -0000 Received: from unknown (HELO sccrmhc13.comcast.net) (204.127.202.64) by sourceware.org with SMTP; 12 Oct 2004 02:36:05 -0000 Received: from [192.168.181.128] (c-67-172-156-222.client.comcast.net[67.172.156.222]) by comcast.net (sccrmhc13) with ESMTP id <2004101202360401600c0rc7e>; Tue, 12 Oct 2004 02:36:04 +0000 Message-ID: <416B430A.4090006@phy.cmich.edu> Date: Wed, 13 Oct 2004 02:38:00 -0000 From: Eric McDonald User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: cstevens@gencom.us CC: xconq7 Subject: Re: A Little Help References: <200410102134.15234.cstevens@gencom.us> <416B3E1C.6050004@phy.cmich.edu> In-Reply-To: <416B3E1C.6050004@phy.cmich.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg01352.txt.bz2 Let me clear out some vestigial junk and clarify a few things: > elevbox = malloc(numcols * BOXHEIGHT * sizeof(int)); elevboxrow = malloc(numcols * BOXHEIGHT * sizeof(int)); > memset(elevrow, 0, numcols * sizeof(int)); Not necessary and certainly not in this form. > /* You can use / and % (div and mod) to help determine which box to > stuff things in. */ Probably not necessary. Just put directly into column and row. Reduction to medians or means is the only place where the row of boxes truly matters. Eric