say there are two points P1 and P2 in $R^n$.
P1 = (i1, j1, k1, l1, m1, ... ) [n dimensions]
P2 = (i2, j2, k2, l2, m2, ... ) [n dimensions]
How do I get the interpolated n-dim points between them?
say there are two points P1 and P2 in $R^n$.
P1 = (i1, j1, k1, l1, m1, ... ) [n dimensions]
P2 = (i2, j2, k2, l2, m2, ... ) [n dimensions]
How do I get the interpolated n-dim points between them?
You can linearly interpolate just like in one dimension:
$$ P_\lambda = P_1 + \lambda (P_2 - P_1), $$ for $\lambda\in [0,1]$, will give you points on the line segment connecting $P_1$ and $P_2$.