help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vectorizing a summation


From: rdelgado
Subject: Re: Vectorizing a summation
Date: Tue, 29 Jan 2013 06:48:54 -0800 (PST)

Hello,

Thanks for your answer.

You are right, but I just saw I forgot something in my sum. The actual sum
is:

result = SUM(from i=1...MxN) SUM (from j=1...MxN) (Pi-Pj) * (Xi - Yi) * (Xj
- Yj)

P is a MxN matrix too.

Sorry for the mistake.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Vectorizing-a-summation-tp4649235p4649238.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]