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

Simple statistics (mean, variance) on vectors. More...

#include "mbl_stats_nd.h"
#include <vcl_cmath.h>
#include <vcl_cassert.h>
#include <vcl_iostream.h>
#include <vnl/io/vnl_io_vector.h>

Go to the source code of this file.

Functions

vcl_ostream & operator<< (vcl_ostream &os, const mbl_stats_nd &stats)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const mbl_stats_nd &stats)
 Stream output operator for class reference.
mbl_stats_nd operator+ (const mbl_stats_nd &s1, const mbl_stats_nd &s2)
void vsl_b_write (vsl_b_ostream &bfs, const mbl_stats_nd &b)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, mbl_stats_nd &b)
 Binary file stream input operator for class reference.

Variables

const double MAX_ERROR = 1.0e-8

Detailed Description

Simple statistics (mean, variance) on vectors.

Author:
Tim Cootes

Definition in file mbl_stats_nd.cxx.


Function Documentation

mbl_stats_nd operator+ ( const mbl_stats_nd s1,
const mbl_stats_nd s2 
)

Definition at line 183 of file mbl_stats_nd.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const mbl_stats_nd stats 
)

Stream output operator for class reference.

Definition at line 171 of file mbl_stats_nd.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mbl_stats_nd b 
)

Binary file stream input operator for class reference.

Definition at line 198 of file mbl_stats_nd.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mbl_stats_nd b 
)

Binary file stream output operator for class reference.

Definition at line 192 of file mbl_stats_nd.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const mbl_stats_nd stats 
)

Stream output operator for class reference.

Definition at line 178 of file mbl_stats_nd.cxx.


Variable Documentation

const double MAX_ERROR = 1.0e-8

Definition at line 108 of file mbl_stats_nd.cxx.