0
$\begingroup$

I am trying to understand how I can write an algorithm to solve the formula written at the end of this answer, that is:

$$ 0=\sum_{i=0}^m \vec c - \vec a_i - \vec d_i \frac {(\vec c-\vec a_i)\cdot\vec d_i}{\|\vec d_i\|^2} $$

I know simple equations systems may be solved through matrices when you have $$Ax=b$$ you can solve with $$x = A^{-1}b$$ but this is a little more complicated for me

I think I should come to a form such as: $$A\vec c = b$$ but I don't have idea how to deal with $\sum$ and dot products

$\endgroup$
  • $\begingroup$ I agree, but the missing of latex over there suggests this is the best place.. $\endgroup$ – elect Jun 24 '15 at 9:25
  • $\begingroup$ I was also not sure so I removed my comment. $\endgroup$ – sashas Jun 24 '15 at 9:26
  • $\begingroup$ Anyway, I gave it a try and wrote also over there, let's see $\endgroup$ – elect Jun 24 '15 at 9:31
  • $\begingroup$ Also asked at StackExchange. $\endgroup$ – Joseph O'Rourke Jun 24 '15 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.