DOT(R1, R2)

Top  Previous  Next

 

Description

This function returns the dot product of two vectors.  R1 must have the same number of rows and columns as R2, or R1 and R2 can be one-dimensional vectors of the same length.

 

Parameters

 

R1

A vector.

 

R2

A vector.

 

Examples

 

Given:

 

A1:B2 =

 

A

B

1

1

3

2

2

4

 

C1:D2 =

 

C

D

1

9

5

2

2

4

 

DOT(A1:B2, C1:D2) = 44

 

DOT(A1:B1, C1:C2) = 15

 

DOT(A1:B2, D1:D2) = #Error

Incompatible range dimensions.

 

Sponsored

Try Predictive Systems Lab

Interactive Demo →

Need Help?
Contact support