Functions | Variables
contrib/mul/mbl/mbl_wt_histogram.cxx File Reference

Simple object to build histogram from supplied data, with weights. More...

#include "mbl_wt_histogram.h"
#include <vcl_cmath.h>
#include <vcl_iostream.h>
#include <vcl_cassert.h>
#include <vsl/vsl_vector_io.h>

Go to the source code of this file.

Functions

vcl_ostream & operator<< (vcl_ostream &os, const mbl_wt_histogram &histo)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const mbl_wt_histogram &histo)
 Stream output operator for class reference.
void vsl_b_write (vsl_b_ostream &bfs, const mbl_wt_histogram &h)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, mbl_wt_histogram &h)
 Binary file stream input operator for class reference.

Variables

const double MAX_ERROR = 1.0e-8

Detailed Description

Simple object to build histogram from supplied data, with weights.

Author:
Tim Cootes

Definition in file mbl_wt_histogram.cxx.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const mbl_wt_histogram histo 
)

Stream output operator for class reference.

Definition at line 164 of file mbl_wt_histogram.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mbl_wt_histogram h 
)

Binary file stream input operator for class reference.

Definition at line 183 of file mbl_wt_histogram.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mbl_wt_histogram h 
)

Binary file stream output operator for class reference.

Definition at line 177 of file mbl_wt_histogram.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const mbl_wt_histogram histo 
)

Stream output operator for class reference.

Definition at line 171 of file mbl_wt_histogram.cxx.


Variable Documentation

const double MAX_ERROR = 1.0e-8

Definition at line 64 of file mbl_wt_histogram.cxx.