From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6229 invoked by alias); 6 Jun 2007 07:32:32 -0000 Received: (qmail 6220 invoked by uid 22791); 6 Jun 2007 07:32:32 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Jun 2007 07:32:30 +0000 Received: by wa-out-1112.google.com with SMTP id k22so72279waf for ; Wed, 06 Jun 2007 00:32:27 -0700 (PDT) Received: by 10.114.144.1 with SMTP id r1mr207143wad.1181115146767; Wed, 06 Jun 2007 00:32:26 -0700 (PDT) Received: by 10.114.26.2 with HTTP; Wed, 6 Jun 2007 00:32:26 -0700 (PDT) Message-ID: Date: Wed, 06 Jun 2007 07:32:00 -0000 From: Michael To: help-gsl@gnu.org, gsl-discuss@sources.redhat.com Subject: questions about using GSL's ODE solver? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00029.txt.bz2 Hi all, I am new to GSL's ODE solver and I began to use it because Matlab is slow and I have to call the ODE solver thousands of millions of times. My questions are: 1. In Matlab, I can provide a vector of times, and Matlab will return a vector of solutions at these specified times. Is there a way to do this in GSL ODE solver? I couldn't find a good way to handle this. I want to solve the system of ODEs at 5, 7, 9, 11 seconds, and I only want solutions at these points. How to do that? I hope I don't need to repeat to run the solver for different time points, otherwise that's just too slow. Time is critical to me. 2. Are there any ways to further speed up from internal of the solver? I am thinking of providing a vector of parameters(hence a vector of different ODEs) and solve them in a batch! Thanks a lot for your help! Best, Michael.