Difference between revisions of "Manuals/calci/DOTPRODUCT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
*Dot product is also called Scalar Product.
 
*Dot product is also called Scalar Product.
 
*This product is an example of an Inner product.
 
*This product is an example of an Inner product.
 +
*Dot product is the algebraic operation which calculates with the two equal length values and gives the single value as result.
 +
*Here a and b are two set of values with any real numbers.
 +
*Also a and b are having same length of values.
 
*Dot product of  two vectors is defined as:                                                                                        <math>a=[a_1,a_2,a_3..a_n]</math> and <math>b=[b_1,b_2,b_3..b_n]</math> then <math>a.b= \sum_{i=1}^n a_{i}b_{i}= a_1b_1+a_2b_2+...a_nb_n</math> where <math>\Sigma</math> denotes summation notation and <math>n</math> is the dimension of the vector space.
 
*Dot product of  two vectors is defined as:                                                                                        <math>a=[a_1,a_2,a_3..a_n]</math> and <math>b=[b_1,b_2,b_3..b_n]</math> then <math>a.b= \sum_{i=1}^n a_{i}b_{i}= a_1b_1+a_2b_2+...a_nb_n</math> where <math>\Sigma</math> denotes summation notation and <math>n</math> is the dimension of the vector space.
  

Revision as of 13:59, 5 May 2017

DOTPRODUCT(a,b)


  • and are any two set values.

Description

  • This function shows the Dot product of the given numbers.
  • Dot product is also called Scalar Product.
  • This product is an example of an Inner product.
  • Dot product is the algebraic operation which calculates with the two equal length values and gives the single value as result.
  • Here a and b are two set of values with any real numbers.
  • Also a and b are having same length of values.
  • Dot product of two vectors is defined as: and then where denotes summation notation and is the dimension of the vector space.

Examples

  1. DOTPRODUCT([3,6,9],[10,12,7]) = 165
  2. DOTPRODUCT([2.5,5.9,6.25],[9,12,13.04]) = 174.8
  3. DOTPRODUCT([-7,-3,5],[101,231,-432]) = -3560
  4. DOTPRODUCT([2/3,8/6,10/3],[2,4,6]) = 26.666666666666664

See Also

References

| Dot Product