hist.c File Reference

General purpose histogram handling routines. More...

#include "common.h"
#include <stdio.h>
#include <math.h>
#include "machine.h"
#include "bu.h"

Include dependency graph for hist.c:

Go to the source code of this file.

Defines

#define NMARKS   50

Functions

void bu_hist_free (struct bu_hist *histp)
void bu_hist_init (struct bu_hist *histp, fastf_t min, fastf_t max, unsigned int nbins)
void bu_hist_range (register struct bu_hist *hp, fastf_t low, fastf_t high)
void bu_hist_pr_suppress (register const struct bu_hist *histp, const char *title, int zero_suppress)
void bu_hist_pr (register const struct bu_hist *histp, const char *title)


Detailed Description

General purpose histogram handling routines.

The macro RT_HISTOGRAM_TALLY is used to record items that live in a single "bin", while the subroutine rt_hist_range() is used to record items that may extend across multiple "bin"s.

Author:
Michael John Muuss
Source -

SECAD/VLD Computing Consortium, Bldg 394
The U. S. Army Ballistic Research Laboratory
Aberdeen Proving Ground, Maryland 21005-5066

Definition in file hist.c.


Define Documentation

#define NMARKS   50
 


Generated on Mon Sep 18 01:25:03 2006 for BRL-CAD by  doxygen 1.4.6