From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,26e047a7a0709881 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.162 with SMTP id wj2mr2950508pbc.2.1342221355866; Fri, 13 Jul 2012 16:15:55 -0700 (PDT) Path: l9ni11632pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: How to initialize a matrix of one column only? Date: Fri, 13 Jul 2012 16:15:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4d3d481d-a179-44f6-a81d-04a0531641ad@y3g2000pbc.googlegroups.com> <0c28fbcd-989b-4b47-ad2d-75e4cfeb425b@gg7g2000pbc.googlegroups.com> NNTP-Posting-Host: 97.117.192.250 Mime-Version: 1.0 X-Trace: posting.google.com 1342221355 24714 127.0.0.1 (13 Jul 2012 23:15:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 13 Jul 2012 23:15:55 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=97.117.192.250; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-13T16:15:54-07:00 List-Id: On Thursday, July 12, 2012 1:50:42 AM UTC-7, Simon Wright wrote: > Jerry; writes: > > > OS X ships with both Fortran and C versions of BLAS and LAPACK, so I > > would suppose the C version is common. Wouldn't using the C versions > > solve this problem? As I recall, both Ada and C are row major. > > I just rebuilt my gnat-math-extn unit tests with libclapack, libcblas > and they run successfully without any change to my bindings. So I think > the C versions must retain the same column-major ordering as the Fortran > ones. Oh well. Thanks for checking into that. Still, it seems odd. It must make life hard for C coders who link to these libs. I would have thought that (compatible ordering) would be a big reason for rewriting in C. > > Oh. No surprise there, because /usr/lib/libblas.dylib and > /usr/lib/libcblas.dylib are symlinks to the same file! Yes. I noticed that some time back. (OS X, right?) But I think these libs contain both Fortran and C versions.