[][src]Function opencv::core::exp

pub fn exp(src: &dyn ToInputArray, dst: &mut dyn ToOutputArray) -> Result<()>

Calculates the exponent of every array element.

The function cv::exp calculates the exponent of every element of the input array: block formula

The maximum relative error is about 7e-6 for single-precision input and less than 1e-10 for double-precision input. Currently, the function converts denormalized values to zeros on output. Special values (NaN, Inf) are not handled.

Parameters

  • src: input array.
  • dst: output array of the same size and type as src.

See also

log , cartToPolar , polarToCart , phase , pow , sqrt , magnitude