Using BLAS with C++ on a Macintosh with OSX Operating System

BLAS_OSX, a C++ program which demonstrates how to access the BLAS library on a Macintosh that is running the OSX operating system.

The BLAS are available, but you have to include the Accelerate/Accelerate.h include file at compile time, and the "-framework Accelerate" switch at load time.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


BLAS_OSX is available in a C version and a C++ version and a FORTRAN90 version.

Related Data and Programs:

BLAS, a C++ library which contains the Basic Linear Algebra Subprograms (BLAS) for level 1 (vector-vector operations), level 2 (matrix-vector operations) and level 3 (matrix-matrix operations), for single precision real arithmetic, double precision real arithmetic, single precision complex arithmetic, and double precision complex arithmetic.

LAPACK_OSX, a C++ program which demonstrates the use of the LAPACK linear algebra library on a Macintosh running the OSX operating system.

Source Code:

You can go up one level to the C++ source codes.

Last revised on 05 October 2018.