pub fn scale_add(src1: &dyn core::ToInputArray, alpha: f64, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_scaleAdd_const__InputArrayX_double_const__InputArrayX_const__OutputArrayX(src1.as_raw__InputArray(), alpha, src2.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
/// Calculates the sum of a scaled array and another array.
/// 
/// The function scaleAdd is one of the classical primitive linear algebra operations, known as DAXPY
/// or SAXPY in [BLAS](http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms). It calculates
/// the sum of a scaled array and another array:
/// ![block formula](https://latex.codecogs.com/png.latex?%5Ctexttt%7Bdst%7D%20%28I%29%3D%20%5Ctexttt%7Bscale%7D%20%5Ccdot%20%5Ctexttt%7Bsrc1%7D%20%28I%29%20%2B%20%20%5Ctexttt%7Bsrc2%7D%20%28I%29)
/// The function can also be emulated with a matrix expression, for example:
/// ```ignore
///    Mat A(3, 3, CV_64F);
///    ...
///    A.row(0) = A.row(1)*2 + A.row(2);
/// ```
/// 
/// ## Parameters
/// * src1: first input array.
/// * alpha: scale factor for the first array.
/// * src2: second input array of the same size and type as src1.
/// * dst: output array of the same size and type as src1.
/// ## See also
/// add, addWeighted, subtract, Mat::dot, Mat::convertTo
Calculates the sum of a scaled array and another array.
The function scaleAdd is one of the classical primitive linear algebra operations, known as DAXPY
or SAXPY in [BLAS].
Calculates the sum of a scaled array and another array . The function scaleAdd is one of the classical primitive linear algebra operations known as DAXPY or SAXPY in [ BLAS ] .
pub fn scale_add(src1: &dyn core::ToInputArray, alpha: f64, src2: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray) -> Result<()> {
	input_array_arg!(src1);
	input_array_arg!(src2);
	output_array_arg!(dst);
	unsafe { sys::cv_scaleAdd_const__InputArrayX_double_const__InputArrayX_const__OutputArrayX(src1.as_raw__InputArray(), alpha, src2.as_raw__InputArray(), dst.as_raw__OutputArray()) }.into_result()
}
pub fn scale_add ( src1 : & dyn core :: ToInputArray , alpha : f64 , src2 : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray ) -> Result < ( ) > { input_array_arg ! ( src1 ) ; input_array_arg ! ( src2 ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_scaleAdd_const__InputArrayX_double_const__InputArrayX_const__OutputArrayX ( src1 . as_raw__InputArray ( ) , alpha , src2 . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) ) } . into_result ( ) }
Calculates the sum of a scaled array and another array.
Calculates the sum of a scaled array and another array .
src1
&dyn core::ToInputArray
alpha
f64
src2
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
see also
add, addWeighted, subtract, Mat::dot, Mat::convertTo
add addWeighted subtract Mat :: dot Mat :: convertTo