pub fn magnitude(x: &dyn core::ToInputArray, y: &dyn core::ToInputArray, magnitude: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(x);
	input_array_arg!(y);
	output_array_arg!(magnitude);
	unsafe { sys::cv_magnitude_const__InputArrayX_const__InputArrayX_const__OutputArrayX(x.as_raw__InputArray(), y.as_raw__InputArray(), magnitude.as_raw__OutputArray()) }.into_result()
}
/// Calculates the magnitude of 2D vectors.
/// 
/// The function cv::magnitude calculates the magnitude of 2D vectors formed
/// from the corresponding elements of x and y arrays:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%20%28I%29%20%3D%20%20%5Csqrt%7B%5Ctexttt%7Bx%7D%28I%29%5E2%20%2B%20%5Ctexttt%7By%7D%28I%29%5E2%7D)
/// ## Parameters
/// * x: floating-point array of x-coordinates of the vectors.
/// * y: floating-point array of y-coordinates of the vectors; it must
/// have the same size as x.
/// * magnitude: output array of the same size and type as x.
/// ## See also
/// cartToPolar, polarToCart, phase, sqrt
Calculates the magnitude of 2D vectors.
The function cv::magnitude calculates the magnitude of 2D vectors formed
from the corresponding elements of x and y arrays:
[block formula]
Calculates the magnitude of 2D vectors . The function cv :: magnitude calculates the magnitude of 2D vectors formed from the corresponding elements of x and y arrays : [ block formula ]
pub fn magnitude(x: &dyn core::ToInputArray, y: &dyn core::ToInputArray, magnitude: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(x);
	input_array_arg!(y);
	output_array_arg!(magnitude);
	unsafe { sys::cv_magnitude_const__InputArrayX_const__InputArrayX_const__OutputArrayX(x.as_raw__InputArray(), y.as_raw__InputArray(), magnitude.as_raw__OutputArray()) }.into_result()
}
pub fn magnitude ( x : & dyn core :: ToInputArray , y : & dyn core :: ToInputArray , magnitude : & mut dyn core :: ToOutputArray ) -> Result < ( ) > { input_array_arg ! ( x ) ; input_array_arg ! ( y ) ; output_array_arg ! ( magnitude ) ; unsafe { sys :: cv_magnitude_const__InputArrayX_const__InputArrayX_const__OutputArrayX ( x . as_raw__InputArray ( ) , y . as_raw__InputArray ( ) , magnitude . as_raw__OutputArray ( ) ) } . into_result ( ) }
Calculates the magnitude of 2D vectors.
Calculates the magnitude of 2D vectors .
x
&dyn core::ToInputArray
y
&dyn core::ToInputArray
magnitude
&mut dyn core::ToOutputArray
see also
cartToPolar, polarToCart, phase, sqrt
cartToPolar polarToCart phase sqrt