muuki88 / jama-osgi

Jama - Java Matrix OSGi version with tycho build
12 stars 5 forks source link

Build Status

UNMAINTAINED

This project is unmaintained and there are better, more complete linear-algebra packages out there.

Tycho build for the Jama matrix library

This project is a fork of Jama and provides an OSGi bundle, eclipse feature and an p2 updatesite. You can

  1. Deploy an eclipse plugin (OSGi bundle) with tycho
  2. Deploy an eclipse feature containing Jama
  3. Deploy an eclipse repository (update site) to install Jama into eclipse, etc.

Checkout the files and run


mvn compile package` 

Maven

Each release is published as OSGi bundle on maven central, too.


<dependency>
    <groupId>de.mukis</groupId>
    <artifactId>de.mukis.jama</artifactId>
    <version>2.0.0.M1</version>
</dependency>

Usage


double[][] array = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}}; 
Matrix A = new Matrix(array); 
Matrix b = Matrix.random(3,1); 
Matrix x = A.solve(b); 
Matrix Residual = A.times(x).minus(b); 
double rnorm = Residual.normInf();

Acknowledgement

JAMA's initial design, as well as this reference implementation, was developed by

... from The MathWorks

... from NIST

Copyright Notice

This software is a cooperative product of The MathWorks and the National Institute of Standards and Technology (NIST) which has been released to the public domain. Neither The MathWorks nor NIST assumes any responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.

Links