s-news
[Top] [All Lists]

[S] Avoiding loops

To: s-news@wubios.wustl.edu
Subject: [S] Avoiding loops
From: Eva.Cantoni@metri.unige.ch (Eva Cantoni)
Date: Tue, 25 Aug 1998 15:28:54 +0200
Sender: owner-s-news@wubios.wustl.edu
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

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Avoiding loops, Eva Cantoni <=