- #1
zheng004
- 10
- 0
Hi all,
Suppose we have vectors coming in order as A, B and then C (but A must be deleted before C comes in). Then how to get the dot product between A and C? It is allowed to store some calculations of A before deleting elements of A, for example, we could store norm of A, dot(A, B) and etc.
I tried to store (A + B) .^2, (A - B)^2, and then replace B with C, but failed. Please help!
Suppose we have vectors coming in order as A, B and then C (but A must be deleted before C comes in). Then how to get the dot product between A and C? It is allowed to store some calculations of A before deleting elements of A, for example, we could store norm of A, dot(A, B) and etc.
I tried to store (A + B) .^2, (A - B)^2, and then replace B with C, but failed. Please help!