From: Eric McDonald <mcdonald@phy.cmich.edu>
To: cstevens@gencom.us
Cc: xconq7 <xconq7@sources.redhat.com>
Subject: Re: A Little Help
Date: Wed, 13 Oct 2004 02:38:00 -0000 [thread overview]
Message-ID: <416B430A.4090006@phy.cmich.edu> (raw)
In-Reply-To: <416B3E1C.6050004@phy.cmich.edu>
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
next prev parent reply other threads:[~2004-10-12 2:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-12 2:15 D. Cooper Stevenson
2004-10-12 2:36 ` Eric McDonald
2004-10-13 2:38 ` Eric McDonald [this message]
2004-10-16 5:08 ` D. Cooper Stevenson
2004-10-16 18:22 ` Website Update Request Elijah Meeks
2004-10-17 14:45 ` Eric McDonald
2004-10-18 23:47 ` D. Cooper Stevenson
2004-10-23 19:39 ` Elijah Meeks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=416B430A.4090006@phy.cmich.edu \
--to=mcdonald@phy.cmich.edu \
--cc=cstevens@gencom.us \
--cc=xconq7@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).