BRL-CAD
#include "common.h"
#include <stddef.h>
#include "vmath.h"
#include "bu/defines.h"
#include "bu/magic.h"
Include dependency graph for hist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_hist
 

Macros

#define BU_HIST_NULL   ((struct bu_hist *)0)
 
#define BU_CK_HIST(_p)   BU_CKMAG(_p, BU_HIST_MAGIC, "struct bu_hist")
 
#define BU_HIST_INIT(_hp)
 
#define BU_HIST_INIT_ZERO   {BU_HIST_MAGIC, 0.0, 0.0, 0.0, 0, 0, NULL}
 
#define BU_HIST_IS_INITIALIZED(_hp)   (((struct bu_hist *)(_hp) != BU_HIST_NULL) && LIKELY((_hp)->magic == BU_HIST_MAGIC))
 
#define BU_HIST_TALLY(_hp, _val)
 
#define BU_HIST_TALLY_MULTIPLE(_hp, _val, _count)
 

Typedefs

typedef struct bu_hist bu_hist_t
 

Functions

void bu_hist_free (struct bu_hist *histp)
 
void bu_hist_init (struct bu_hist *histp, fastf_t min, fastf_t max, size_t nbins)
 
void bu_hist_range (struct bu_hist *hp, fastf_t low, fastf_t high)
 
void bu_hist_pr (const struct bu_hist *histp, const char *title)