inner(a,b)

Returns the inner product of arrays a and b. This is generalization of the dot product for arrays of any size.


See also dot 


Example


x = ( 1, 2, 3 );

y = ( 4, 5, 6 );

inner( x, y )

32