Classes | Functions
contrib/mul/mbl/mbl_sample_stats_1d.h File Reference

Provides simple statistics on a 1D variable and stores the samples. More...

#include <vcl_stdexcept.h>
#include <vcl_iostream.h>
#include <vcl_vector.h>
#include <vnl/vnl_vector.h>
#include <vsl/vsl_fwd.h>
#include <mbl/mbl_stats_1d.h>

Go to the source code of this file.

Classes

class  mbl_sample_stats_1d
 Provides simple statistics on a 1D variable and stores the samples. More...

Functions

template<class S , class M >
vcl_vector< double > mbl_apply_mask (const S &sample, const M &mask)
void vsl_b_write (vsl_b_ostream &bfs, const mbl_sample_stats_1d &b)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, mbl_sample_stats_1d &b)
 Binary file stream input operator for class reference.
vcl_ostream & operator<< (vcl_ostream &os, const mbl_sample_stats_1d &stats)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const mbl_sample_stats_1d &stats)
 Stream output operator for class reference.
void vsl_print_all (vcl_ostream &os, const mbl_sample_stats_1d &stats)
 Print all data.

Detailed Description

Provides simple statistics on a 1D variable and stores the samples.

Author:
Graham Vincent

Definition in file mbl_sample_stats_1d.h.


Function Documentation

template<class S , class M >
vcl_vector<double> mbl_apply_mask ( const S &  sample,
const M &  mask 
)

Definition at line 137 of file mbl_sample_stats_1d.h.

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

Stream output operator for class reference.

Definition at line 426 of file mbl_sample_stats_1d.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mbl_sample_stats_1d b 
)

Binary file stream input operator for class reference.

Definition at line 469 of file mbl_sample_stats_1d.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mbl_sample_stats_1d b 
)

Binary file stream output operator for class reference.

Definition at line 461 of file mbl_sample_stats_1d.cxx.

void vsl_print_all ( vcl_ostream &  os,
const mbl_sample_stats_1d stats 
)

Print all data.

Definition at line 443 of file mbl_sample_stats_1d.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const mbl_sample_stats_1d stats 
)

Stream output operator for class reference.

Definition at line 435 of file mbl_sample_stats_1d.cxx.