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

Computes sum and mean of 1D variable. More...

#include "mbl_sum_1d.h"
#include <vcl_cmath.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Functions

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

Variables

const double MAX_ERROR = 1.0e-8

Detailed Description

Computes sum and mean of 1D variable.

Author:
Tim Cootes

Definition in file mbl_sum_1d.cxx.


Function Documentation

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

Definition at line 95 of file mbl_sum_1d.cxx.

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

Stream output operator for class reference.

Definition at line 83 of file mbl_sum_1d.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mbl_sum_1d b 
)

Binary file stream input operator for class reference.

Definition at line 110 of file mbl_sum_1d.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mbl_sum_1d b 
)

Binary file stream output operator for class reference.

Definition at line 104 of file mbl_sum_1d.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const mbl_sum_1d stats 
)

Stream output operator for class reference.

Definition at line 90 of file mbl_sum_1d.cxx.


Variable Documentation

const double MAX_ERROR = 1.0e-8

Definition at line 29 of file mbl_sum_1d.cxx.