Finding pairs of operator-related vectors

  • Level: Graduate 
  • Thread starter Thread starter dipole
  • Start date Start date
  • Tags Tags
    Vectors
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 879 views
dipole
Messages
553
Reaction score
149
Say I have an even-numbered set of vectors, [itex]X = \{x_1, x_2, ...x_{2n}\}[/itex] where there exists some pairing of the vectors such that,
[tex]x_iA = x'_i \quad \forall i=1..n[/tex]

However, I don't know what the pairing should be. Other than iterating over some norm and finding all pairs of [itex]i[/itex] and [itex]j[/itex] which satisfy [itex]|| x_iA - x_j || = 0[/itex], can anyone think of a faster way of doing it?
 
Physics news on Phys.org
One thing that might speed up the calculations, but would make the algorithm more complicated, would be to test for equality index-by-index and only continue to the next index if the current one is equal. Of course, you should not forget to remove any matches from the list before moving on to the next search.