[−][src]Function arrayfire::hypot
pub fn hypot<A, B>(
lhs: &Array<A>,
rhs: &Array<B>,
batch: bool
) > Array<A::Output> where
A: HasAfEnum + ImplicitPromote<B>,
B: HasAfEnum + ImplicitPromote<A>,
<A as ImplicitPromote<B>>::Output: HasAfEnum,
Compute length of hypotenuse of two Arrays
This is an element wise binary operation.
Important Notes

If shape/dimensions of
lhs
andrhs
are same, the value ofbatch
parameter has no effect. 
If shape/dimensions of
lhs
andrhs
are different, the value ofbatch
has to be set totrue
. In this case, the shapes oflhs
andrhs
have to satisfy the following criteria: Same number of elements in
lhs
andrhs
along a given dimension/axis  Only one element in
lhs
orrhs
along a given dimension/axis
 Same number of elements in