Numeric operations, random number generation, numerical instabilities

From OTBWiki
Revision as of 17:16, 2 February 2012 by Jonathan guinet (Talk | contribs) (Random number generation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Numerical operations

Since OTB uses VXL lib, we recommend the use of vnl and vcl operations for mathematics operation (for example vcl_exp instead of exp), for code homogeneity (vcl_exp is a redefinition of std::exp).


Random number generation

use MersenneTwister instead of rand (TBD)

Numerical instabilities