From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23972 invoked by alias); 20 Sep 2009 15:08:23 -0000 Received: (qmail 23962 invoked by uid 22791); 20 Sep 2009 15:08:23 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f225.google.com (HELO mail-fx0-f225.google.com) (209.85.220.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Sep 2009 15:08:19 +0000 Received: by fxm25 with SMTP id 25so1664262fxm.0 for ; Sun, 20 Sep 2009 08:08:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.19.144 with SMTP id a16mr3382320bkb.9.1253459297150; Sun, 20 Sep 2009 08:08:17 -0700 (PDT) In-Reply-To: <4AB5F77F.8020104@iki.fi> References: <48E25CA9.6080306@iki.fi> <49FB01D1.30000@iki.fi> <4A7ADFDC.9080408@iki.fi> <1251414774.23092.80.camel@manticore.lanl.gov> <1251414939.23092.82.camel@manticore.lanl.gov> <1253062087.23092.965.camel@manticore.lanl.gov> <4AB5F77F.8020104@iki.fi> From: Rhys Ulerich Date: Sun, 20 Sep 2009 15:08:00 -0000 Message-ID: <4a00655d0909200807m6529bfbj8cbef97e4520d8d7@mail.gmail.com> Subject: Re: GSL 2.0 roadmap (one man's view) To: Tuomo Keskitalo Cc: GSL Discuss Mailing List Content-Type: text/plain; charset=ISO-8859-1 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: 2009-q3/txt/msg00059.txt.bz2 > tda in gsl_matrix struct is a bit of a mystery to me, what is it used for? >From the manual [1]: "The physical row dimension tda, or trailing dimension, specifies the size of a row of the matrix as laid out in memory." Say A is a (gsl_matrix *) and A->data[offset] is the matrix entry A_{i,j}, then A->data[offset+A->tda] is the matrix entry A_{i+1,j}. Note that both tda and size2 are necessary because our matrix A may be a view of some larger matrix. - Rhys [1] http://www.gnu.org/software/gsl/manual/html_node/Matrices.html