dot product vs inner product

No.14021984 ViewReplyOriginalReport
It is often said that the inner product is a generalized version of the dot product. But I noticed that for the dot product, summation is done up to the dimension of the vector space.
where n is the dimensionality of the basis. But in case of the inner product in a Hilbert space, the summation has nothing to do with the dimension of the space which is typically infinite. It is just an integral of a function f(x) and a basis function g(x) over some interval [a,b]. Or in a discrete form, it could also be written a summation . But it has nothing to do with the dimension of the space. So the dot product and the inner product are quite different, aren't they?