[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use 'colloc'?
From: |
Søren Hauberg |
Subject: |
Re: How to use 'colloc'? |
Date: |
Thu, 5 Jul 2012 11:56:58 +0200 |
On Jul 4, 2012, at 7:57 PM, c. wrote:
> for this kind of problem you could also use bim.
> attached is an example script to solve a particular system
> of 2 semilinear 2nd order ODEs with two-point boundary conditions.
> If you can provide more info about your specific problem I can help
> you adapt the script to your needs.
Sounds nice! I've been using 'bvp4c' so far, which has worked out nicely, but
it is kinda slow (I need to solve a system of ODE's to compute the geodesic
between points on a specific manifold; as I am doing statistics on manifolds at
the moment, so I usually need to compute many thousands of geodesics, so speed
is kinda important). I'm looking into collocation as it seems to be rather fast
(at the moment speed is more important than accuracy).
Is the BIM package able to give me rough solutions fast? Or do you have any
thoughts on which approaches would be most suitable when speed is more
important than accuracy? I can provide more details on the systems in question,
but only off-line as this is still not published.
Thanks
Søren