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 wj2mr1685336pbc.2.1342083043650; Thu, 12 Jul 2012 01:50:43 -0700 (PDT) Path: l9ni11511pbj.0!nntp.google.com!news1.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.242.MISMATCH!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to initialize a matrix of one column only? Date: Thu, 12 Jul 2012 09:50:42 +0100 Organization: A noiseless patient Spider Message-ID: References: <4d3d481d-a179-44f6-a81d-04a0531641ad@y3g2000pbc.googlegroups.com> <0c28fbcd-989b-4b47-ad2d-75e4cfeb425b@gg7g2000pbc.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="77deb14aadc54f7e5248011e65bf9740"; logging-data="8675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jcKgUcDgCP/CynRfAEDxM2tl3tb3efaY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:rLL2hUI2QxZHI20WNPo3G+b1RWE= sha1:Tp/vx6Mz7WkqTHl0T267y+TQsY8= Content-Type: text/plain Date: 2012-07-12T09:50:42+01:00 List-Id: 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. No surprise there, because /usr/lib/libblas.dylib and /usr/lib/libcblas.dylib are symlinks to the same file!