ublas - solving linear systems

I was looking for a way to solve a linear system using ublas and came upon this thread http://article.gmane.org/gmane.comp.lib.boost.user/1632 So does this mean I have to decompose my matrix? Can I do it using ublas?

sashan wrote:
I was looking for a way to solve a linear system using ublas and came upon this thread
http://article.gmane.org/gmane.comp.lib.boost.user/1632
So does this mean I have to decompose my matrix? Can I do it using ublas?
Well ... yes and no ;o) ublas is BLAS (i.e. Basic Linear Algebra Subroutines) written in C++, so it provides (only) elementary vector and matrix operation (scaling, addition, matrix/vector and matrix/matrix multiplication etc.). But we are developing `bindings' library which provides interfaces to some Fortran and C numeric libraries, e.g. ATLAS and LAPACK, so that they can be used with ublas matrices and vectors. Current version of `bindings' library (not complete, but IMHO useable) can be found in the boost sandbox http://tinyurl.com/r1ch with documentation and examples in http://tinyurl.com/r1cv You can also download complete zip archive from the files section of the ublas-dev mailing list http://groups.yahoo.com/group/ublas-dev/files/ (I think that you must join the mailing list to access the files: ublas-dev-subscribe@yahoogroups.com .) See also http://tinyurl.com/r1e7 http://tinyurl.com/r1ee (although some details on the last page are a bit outdated ;o). Regards, fres

Sashan, I can provide you with symmetric matrix diagonalization code written using uBLAS, if you need something before the LAPACK bindings are complete. The code is LGPLed. Backchannel me for more info. -Tim Robertson On Wed, 15 Oct 2003, Kresimir Fresl wrote:
sashan wrote:
I was looking for a way to solve a linear system using ublas and came upon this thread
http://article.gmane.org/gmane.comp.lib.boost.user/1632
So does this mean I have to decompose my matrix? Can I do it using ublas?
Well ... yes and no ;o)
ublas is BLAS (i.e. Basic Linear Algebra Subroutines) written in C++, so it provides (only) elementary vector and matrix operation (scaling, addition, matrix/vector and matrix/matrix multiplication etc.).
But we are developing `bindings' library which provides interfaces to some Fortran and C numeric libraries, e.g. ATLAS and LAPACK, so that they can be used with ublas matrices and vectors.
Current version of `bindings' library (not complete, but IMHO useable) can be found in the boost sandbox
with documentation and examples in
You can also download complete zip archive from the files section of the ublas-dev mailing list
http://groups.yahoo.com/group/ublas-dev/files/
(I think that you must join the mailing list to access the files:
ublas-dev-subscribe@yahoogroups.com .)
See also
http://tinyurl.com/r1e7 http://tinyurl.com/r1ee
(although some details on the last page are a bit outdated ;o).
Regards,
fres
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Kresimir Fresl
-
sashan
-
Tim Robertson