How to store a band matrix in C

Post here if you have a question about LAPACK or ScaLAPACK algorithm or data format

How to store a band matrix in C

Postby imperius » Wed Feb 13, 2013 12:36 pm

Hello. I am new in BLAS/LAPACK and i want to use routines for banded matrices. How does someone store a banded matrix in C?
imperius
 
Posts: 3
Joined: Tue Feb 12, 2013 4:12 am

Re: How to store a band matrix in C

Postby admin » Wed Feb 13, 2013 1:09 pm

First, look at how it is done in Fortran : http://www.netlib.org/lapack/lug/node124.html and http://www.netlib.org/lapack/explore-ht ... solve.html.
After if you want to use C, use the LAPACKE library (inside LAPACK) and proceed to the necessary modifications.
LAPACKE can work with either column-major (Fortran) or row-major (C) matrices . See http://netlib.org/lapack/lapacke.html

Hope it helps
Julie
admin
Site Admin
 
Posts: 468
Joined: Wed Dec 08, 2004 7:07 pm


Return to Algorithm / Data

Who is online

Users browsing this forum: No registered users and 1 guest

cron