devernay / ublasJama

A translation of the public domain JAMA (Java Matrix Package) to C++ using boost.ublas for the linear algebra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ublasJama Build Status Coverage Status Bitdeli Badge

This is ublasJama 1.0.3.0, based on Jama 1.0.3

ublasJama is translation of the public domain Jama (Java Matrix Package http://math.nist.gov/javanumerics/jama/ or http://web.archive.org/web/20130915073759/http://math.nist.gov/javanumerics/jama/) 1.0.3 to C++ using boost.ublas for the linear algebra.

Author of the ublas translation: Frederic Devernay frederic.devernay@m4x.org Homepage: http://devernay.free.fr/hacks/ublasJama/

Documentation: see the Jama documentation http://math.nist.gov/javanumerics/jama/doc/ or http://web.archive.org/web/20130221173516/http://math.nist.gov/javanumerics/jama/doc/.

Original Authors: see the Jama list of authors http://math.nist.gov/javanumerics/jama/#Authors.

No optimization of the original code was done, but the functionality is here:

  • Cholesky Decomposition of symmetric, positive definite matrices
  • LU Decomposition (Gaussian elimination) of rectangular matrices
  • QR Decomposition of rectangular matrices
  • Eigenvalue Decomposition of both symmetric and nonsymmetric square matrices
  • Singular Value Decomposition of rectangular matrices

There are two test programs:

  • TestMatrix, in subdirectory test - the original Jama tests, where only the relevant tests were kept.
  • MagicSquareExample, in subdirectory examples

Changes since ublasJama 1.0.3.0:

  • rebase on Jama 1.0.3, which incorporates my fix for EigenvalueDecomposition (see below)
  • cleaned up javadoc documentation

Changes since ublasJama 1.0.2.4:

  • add force_symmetric parameter to Eigenvalue decomposition, to force decomposition type

Changes since ublasJama 1.0.2.3:

  • templatize EigenValueDecomposition
  • better template parameters (allow row_major and column_major matrices)

Changes since ublasJama 1.0.2.2:

Changes since ublasJama 1.0.2.1:

Changes since ublasJama 1.0.2.0:

  • fix two bugs in SVD (the ublas matrix constructor doesn't init elts)

About

A translation of the public domain JAMA (Java Matrix Package) to C++ using boost.ublas for the linear algebra


Languages

Language:C++ 100.0%