Xref: utzoo comp.lang.c:18264 comp.lang.fortran:1997 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!noao!asuvax!mcdphx!mcdchg!clyde!feg From: feg@clyde.ATT.COM (Forrest Gehrke) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: Calling FORTRAN from C (Was: Need matrix inversion C routine). Message-ID: <45634@clyde.ATT.COM> Date: 1 May 89 14:32:44 GMT References: <2846@tank.uchicago.edu> <5785@cbnews.ATT.COM> <10087@smoke.BRL.MIL> <1399@uw-entropy.ms.washington.edu> Distribution: usa Organization: AT&T Bell Labs, Whippany NJ Lines: 31 In article <1399@uw-entropy.ms.washington.edu>, charlie@mica.stat.washington.edu (Charlie Geyer) writes: > > In article <307@cbnewsh.ATT.COM> georg@cbnewsh.ATT.COM (georg.k.karawas) writes: > > > The book 'Numerical Recipes in C' should contain a routine > > for matrix inversion. As it was already pointed in other > > articles, it is a hassle to work with pointers. > > Is there anything in pANS C, Fortran 8x, and POSIX that will alleviate this > situation? It's very annoying, especially these days when all of the really > high quality numerical stuff is still in FORTRAN and all of the good user > interface stuff is in C. If portability and compatibility with ANSI C are foremost, then you probably would be best off with "Numerical Recipes in C" (assuming you aren't interested in re-inventing). If you go this route, the publisher sells a couple of diskettes with the drivers and the C functions for everything listed in the book (plus a number of general utilities used by their routines). (The information in the book about these diskettes isn't exactly clear because they call 'em by the same name--but there are TWO diskettes, one for about $30 and the other $25). The text itself is about $45. They also publish a smaller book which goes into more specific details about their routines. If numerical programming in C is your thing, I think this is well worth the price. --Forrest Gehrke