Boost logo

Boost :

From: Miroslav Silovic (miro_at_[hidden])
Date: 2002-10-23 10:37:28


Martin Weiser wrote:

>Let me be more detailed in order to ensure we're talking about the same
>things. Omitting genericity,
>
>double integrate_step(double dx, double dt) {
> // compute increment from dx and dt. Only possibility:
> return dx*dt;
>}
>
>
Sorry for replying to you, rather than the original poster... I don't
have that post any more. :)

The issue is that this thing makes sense for solving ODEs, but is pretty
useless for the numeric integration. While numeric integration is a
special case of solving ODEs, the actual algorithms are completely
different... the main difference being that ODEs tend to be solved
stepwise, while functions get integrated in order that isn't even
necessarily sequential (Romberg algorithm is the primary culprit here).

    Miro


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk