[][src]Function opencv::cudaarithm::sqr

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

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.

C++ default parameters

  • stream: Stream::Null()