sqr_def

Function sqr_def 

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

Computes a square value of each matrix element.

§Parameters

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

§Note

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

  • stream: Stream::Null()