From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32412 invoked by alias); 19 Aug 2002 19:39:57 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 32402 invoked from network); 19 Aug 2002 19:39:56 -0000 Received: from unknown (HELO mbx.unige.ch) (129.194.8.72) by sources.redhat.com with SMTP; 19 Aug 2002 19:39:56 -0000 Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.1-1 #38753) id <0H1300301VYIHU@mbx.unige.ch> for gsl-discuss@sources.redhat.com; Mon, 19 Aug 2002 21:39:55 +0200 (MEST) Received: from osiris ([129.194.40.126]) by mbx.unige.ch (PMDF V6.1-1 #38753) with ESMTP id <0H13002K1VYFTV@mbx.unige.ch> for gsl-discuss@sources.redhat.com; Mon, 19 Aug 2002 21:39:54 +0200 (MEST) Date: Mon, 19 Aug 2002 12:39:00 -0000 From: Philippe Huber Subject: RE : Problem with matrices bigger than 2x2 using gsl_linalg_LU_invert In-reply-to: <15713.14742.437923.195861@debian> To: gsl-discuss@sources.redhat.com Message-id: <000601c247b8$35269230$7e28c281@osiris> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Comment: This message was scanned against viruses by mbx.unige.ch. X-SW-Source: 2002-q3/txt/msg00153.txt.bz2 Dear Brian, I found the error: I had not included two gsl source files into my project: rowcol.c and view.c which contain functions called in gsl_linalg_LU_invert. As a reminder, to make gsl work with Borland Builder C++, it is necessary to include the source codes in the project. The libraries (even the bcc ones) contain errors like bad entry points. Thank you Phil -----Message d'origine----- De=A0: Brian Gough [mailto:bjg@network-theory.co.uk]=20 Envoy=E9=A0: lundi, 19. ao=FBt 2002 20:32 =C0=A0: Philippe Huber Cc=A0: gsl-discuss@sources.redhat.com Objet=A0: Re: Problem with matrices bigger than 2x2 using gsl_linalg_LU_invert Philippe Huber writes: > First of all, thank you for having created such a great library. I have > a small problem with gsl_linalg_LU_invert. I am using a 4x4 matrix which > is not singular. I made a LU decomposition using gsl_linalg_LU_decomp. > Then, I send it to gsl_linalg_LU_invert and it crashes. I tried with a > 2x2 matrix and it works perfectly well. I verified that the program also > crashes with a 3x3 matrix. Is it a bug or did I make something wrong. > Please apologize if I don't send my code, it is well too big. Please send a small example which reproduces the bug, with details of=20 your operating system, compiler, etc. regards Brian Gough