Difference between revisions of "Manuals/calci/DOTPRODUCT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "dotproduct")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
dotproduct
+
<div style="font-size:30px">'''DOTPRODUCT(a,b)'''</div><br/>
 +
*<math>a</math> and <math>b</math> 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:                                                                                        <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.
 +
 
 +
==Examples==
 +
#DOTPRODUCT([3,6,9],[10,12,7]) = 165
 +
#DOTPRODUCT([2.5,5.9,6.25],[9,12,13.04]) = 174.8
 +
#DOTPRODUCT([-7,-3,5],[101,231,-432]) = -3560
 +
#DOTPRODUCT([2/3,8/6,10/3],[2,4,6]) = 26.666666666666664
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=KDHuWxy53uM|280|center|Dot Product}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/CROSSPRODUCT  | CROSSPRODUCT  ]]
 +
*[[Manuals/calci/CARTESIANPRODUCT | CARTESIANPRODUCT  ]]
 +
*[[Manuals/calci/SCALARPRODUCT | SCALARPRODUCT  ]]
 +
 
 +
==References==
 +
*[http://tutorial.math.lamar.edu/Classes/CalcII/DotProduct.aspx  Dot Product]
 +
 
 +
 
 +
 
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 13:54, 12 December 2018

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

Related Videos

Dot Product

See Also

References