Numeric operations, random number generation, numerical instabilities

From OTBWiki
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