Re: [Algorithms] decompose onto non-orthogonal vectors
Brought to you by:
vexxed72
From: <ro...@do...> - 2000-07-15 03:28:25
|
Will Portnoy wrote: >> how to you get scalars (u,v) such that u*a + v*b = p? >> Ie. decompose p onto a and b. > >Regardless of what the answer is, you have one equation (ua + vb = p) and >two unknowns (u and v). Nah, it's one vector equation, so two scalar equations. >You need to come up with an equation involving u >and/or v that is linearly independent of the first equation, and then you >can solve the system of linear equations. > >You could make up something like: > >u + v = 1, which is the same as v = 1 - u > >and then substitute in to the first equation: > This part and the remainder is utter nonsense. |