[−][src]Function arrayfire::dot
pub fn dot<T>(
lhs: &Array<T>,
rhs: &Array<T>,
optlhs: MatProp,
optrhs: MatProp
) -> Array<T> where
T: HasAfEnum + FloatingPoint,
Calculate the dot product of vectors.
Scalar dot product between two vectors. Also referred to as the inner product. This function returns the scalar product of two equal sized vectors.
Parameters
lhs
- Left hand side of dot operationrhs
- Right hand side of dot operationoptlhs
- Options for lhs. Currently only NONE value from MatProp is supported.optrhs
- Options for rhs. Currently only NONE value from MatProp is supported.
Return Values
The result of dot product.