pow_def

Function pow_def 

Source
pub fn pow_def(
    src: &impl ToInputArray,
    power: f64,
    dst: &mut impl ToOutputArray,
) -> Result<()>
Expand description

Raises every matrix element to a power.

§Parameters

  • src: Source matrix.
  • power: Exponent of power.
  • dst: Destination matrix with the same size and type as src .
  • stream: Stream for the asynchronous version.

The function pow raises every element of the input matrix to power :

block formula

§See also

pow

§Note

This alternative version of pow function uses the following default values for its arguments:

  • stream: Stream::Null()