comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to initialize a matrix of one column only?
Date: Thu, 12 Jul 2012 09:50:42 +0100
Date: 2012-07-12T09:50:42+01:00	[thread overview]
Message-ID: <m2obnlxt0d.fsf@nidhoggr.home> (raw)
In-Reply-To: 0c28fbcd-989b-4b47-ad2d-75e4cfeb425b@gg7g2000pbc.googlegroups.com

Jerry <lanceboyle@qwest.net> 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!



  reply	other threads:[~2012-07-12  8:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  0:08 How to initialize a matrix of one column only? Nasser M. Abbasi
2012-07-08  0:20 ` Nasser M. Abbasi
2012-07-08  1:47 ` John B. Matthews
2012-07-08  2:09   ` Nasser M. Abbasi
2012-07-08 17:05     ` Brian Drummond
2012-07-13 15:19     ` Robert A Duff
2012-07-13 16:11     ` gautier_niouzes
2012-07-08  7:27 ` Simon Wright
2012-07-08  7:43 ` Stephen Leake
2012-07-08 22:56 ` Jerry
2012-07-09  9:35   ` Simon Wright
2012-07-12  4:13     ` Jerry
2012-07-12  8:50       ` Simon Wright [this message]
2012-07-13 23:15         ` Jerry
2012-07-14  9:46           ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox