[S] Avoiding loops

Eva Cantoni (Eva.Cantoni@metri.unige.ch)
Tue, 25 Aug 1998 15:28:54 +0200


Hi!

For a couple of vectors y = (y_1, ......, y_n) and m = (m_1,
.....,m_n),
I need to calculate for all i=1, ....n the integral

\int_{y_i}^{m_i} f(y_i, t) dt

for some function f.

For each i, the integrate() function works well in my case. But, is
there a clever way to do this calculation avoiding looping throguh
i=1,....n?

Thank you very much in advance,

Eva Cantoni
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news