CVD 0.8
Classes | Functions
Mathematical operations

Useful mathematical classes and functions. More...

Classes

struct  CVD::RobustI
 Robust reweighting (type I) for IRLS. More...
struct  CVD::RobustII
 Robust reweighting (type II) for IRLS. More...
struct  CVD::ILinear
 A reweighting class representing no reweighting in IRLS. More...
class  CVD::IRLS< Size, Reweight >
 Performs iterative reweighted least squares. More...

Functions

double CVD::rand_u ()
double CVD::rand_g ()

Detailed Description

Useful mathematical classes and functions.


Function Documentation

double CVD::rand_u ( ) [inline]

Uniform random numbers between 0 and 1.

This uses rand() internally, so set thw seed with srand()

Definition at line 32 of file random.h.

Referenced by CVD::rand_g().

double CVD::rand_g ( ) [inline]

Gaussian random numbers with zero mean and unit standard deviation.

This uses rand() internally, so set thw seed with srand()

Definition at line 41 of file random.h.

References CVD::rand_u().