LibRan  0.1
Pseudo-random number distribution generator
Data Fields
LR_bin Struct Reference

the binning object - for tallying results More...

#include <libran.h>

Data Fields

int n
 
int nn
 
long c
 
double * bdrs
 
long * bins
 
int errno
 

Detailed Description

the binning object - for tallying results

The LR_bin object is a useful tool for tallying and creating a histogram of samples. The array of bins and boundaries are allocated when instantiated the number of which may be less than actually used.

The object also has errno which contains the last error number encountered. Use LR_perror() to display the error description.

Definition at line 184 of file libran.h.

Field Documentation

◆ bdrs

double* bdrs

bdrs - set of bin boundaries (n - 1)

Definition at line 188 of file libran.h.

◆ bins

long* bins

bins - set of bins (n)

Definition at line 189 of file libran.h.

◆ c

long c

c - count of sample values

Definition at line 187 of file libran.h.

◆ errno

int errno

errno - last bin error encountered

Definition at line 190 of file libran.h.

◆ n

int n

n - number of bins

Definition at line 185 of file libran.h.

◆ nn

int nn

nn - number of bins declared

Definition at line 186 of file libran.h.


The documentation for this struct was generated from the following file: