[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nested sum
From: |
ororo |
Subject: |
nested sum |
Date: |
Wed, 11 May 2011 01:34:21 -0700 (PDT) |
Is there a built-in way to perform nested sums? I mean, e.g.
sum_{n=0..100} f(n) * sum_{m=0..n} g(n,m) * sum_{q=m-2..n+3} h(n,m,q)
Ok, I could write a function, with 3 loops, calculating such a function,
however I would prefer to avoid loops.
Thank you.
--
View this message in context:
http://octave.1599824.n4.nabble.com/nested-sum-tp3514142p3514142.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |