Vector Inner Product
Assume that a and b are vectors, each with the same number of elements. Then, the inner product of a and b is s.
a'b = b'a = s
where
a and b are column vectors, each having n elements,
a' is the transpose of a, which makes a' a row vector,
b' is the transpose of b, which makes b' a row vector, and
s is a scalar; that is, s is a real number - not a matrix.
Note this interesting result. The product of two matrices is usually another matrix. However, the inner product of two vectors is different. It results in a real number - not a matrix. This is illustrated below.
a =
1
2
3
b =
4
5
6
Then,
a'b = 1*4 + 2*5 + 3*6 = 4 + 10 + 18 = 32
Thus, the inner product of a'b is equal to 32.
Note: The inner product is also known as the dot product or as the scalar product.
Vector Inner ProductAssume that a and b are vectors, each with the same number of elements. Then, the inner product of a and b is s.a'b = b'a = swhere a and b are column vectors, each having n elements, a' is the transpose of a, which makes a' a row vector, b' is the transpose of b, which makes b' a row vector, and s is a scalar; that is, s is a real number - not a matrix.Note this interesting result. The product of two matrices is usually another matrix. However, the inner product of two vectors is different. It results in a real number - not a matrix. This is illustrated below.a = 1 23 b = 4 56Then,a'b = 1*4 + 2*5 + 3*6 = 4 + 10 + 18 = 32Thus, the inner product of a'b is equal to 32.Note: The inner product is also known as the dot product or as the scalar product.
การแปล กรุณารอสักครู่..
