[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sparse matrix support, Debian and PDEs :)
From: |
Christophe Prud'homme |
Subject: |
sparse matrix support, Debian and PDEs :) |
Date: |
Wed, 26 Apr 2006 10:07:44 +0200 |
User-agent: |
KMail/1.9.1 |
All,
while working on the book "scientific computing with matlab and octave" and
specially the chapter on Partial differential equations, I was very happy
to see that octave-2.9.5 works with the scripts of the book. Basically it
works for me since Monday :)
for example attached you have a simple poisson pde solver (finite difference)
with a convergence test. It works flawlessly (as in matlab) under
Debian/GNU/Linux and octave 2.9.5 (using debian patch -6 which is linked
with ufsparse maintained by me in Debian and which was just accepted in
Debian on Monday).
So thanks John, David and other contributors for the sparse matrix support :)
octave-2.9.5:1> poissonfd_test1
error =
1.3565e-01 4.3393e-02 1.2308e-02 3.2775e-03 8.4557e-04
p =
1.6443e+00 1.8179e+00 1.9089e+00 1.9546e+00
p denotes the convergence rate which is 2 as expected (should decrease like
h^2)
Best regards
C.
--
Christophe Prud'homme
EPFL SB IACS CMCS
MA B2 534 (Bâtiment MA)
Station 8
CH-1015 Lausanne
Tel: +41 (0)21 693 25 47
Fax: +41 (0)21 693 43 03
poissonfd.m
Description: Text Data
poissonfd_test1.m
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sparse matrix support, Debian and PDEs :),
Christophe Prud'homme <=