So in linear algebra, inner product is when you take the dot product of vectors--multiplying the corresponding entries of the vectors and then summing them up--getting a scalar. While outer product is when you multiply each entry of one vector with each entry of the other vectors--getting a matrix.
Why is the first one called "inner" product and the second one called "outer?"