Giter Site home page Giter Site logo

luzhangstat / jamajnilite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamajni/jamajnilite

0.0 1.0 0.0 96 KB

JAMAJniLite is a sibling package of JAMAJni, which is uses blas and lapack libraries for numerical linear algebra computations.

C++ 26.27% C 21.24% Makefile 0.52% Java 51.97%

jamajnilite's Introduction

JAMAJniLite

JAMAJniLite is a sibling package of JAMAJni. It is a JAVA package providing a java interface for lapack and blas library and using the classes defined by JAMA Package. It's a tool for numerical linear algebra computations. JAMAJniLite calls lapack and blas libraries which require previous installation (Detailed installation instructions are listed below). You can also use openblas library(which is an optimized blas and lapack library by changing the Makefile).

Build Instructions

  • JAMAJniLite requires the installation of lapack and blas. (The command in Ubuntu is sudo apt-get install libblas-dev liblapack-dev).

  • To compile the package, enter src directory and copy the makefile based on the operating system.

For Linux user, use the following commands:

cd src
cp Makefile.linux Makefile
Make

For Mac user, use the following commands:

cd src
cp Makefile.mac Makefile
Make
  • To clean generated file, type make clean on the command line.

  • For linus user, if you would like to use openblas library, you can install openblas by command sudo apt-get install libopenblas-dev. Then you need to replace all the -llapack and -lblas by the -lopenblas in Makefile.

Running the tests

  • For testing, enter test directory and execute make . If you want to clean testing results and all class files, type make clean.

  • There are four test files. The "JAMAJniLiteTest.java" will test all the methods in JAMAJniLite and report the errors. The "JAMAJniLiteExamples.java" will provide specific examples for basic linear algebra operations. It can clearly show you how to use methods defined in JAMAJniLite. If you are interested in how to use functions in blas and lapack libraries to do matrix operations, the "JAMAJniLiteExamplesBLAS.java" and "JAMAJniLiteExamplesLAPACK.java" will give you specific examples. However, it is not necessary to go into blas and lapack if you just want to be a user of JAMAJniLite.

Notes

This package is intended for some basic problems we encounter when solving linear algebra problems. So we only include several most basic and widely used routines of the blas and lapack library.

Source Repository

JAMAJniLite's source-code repository is hosted here on GitHub.

Authors

Name Email
Xiang Chen (maintainer) [email protected] Visiting student, Department of Biostatistics UCLA
Lu Zhang [email protected] PhD student, Department of Biostatistics UCLA
Sudipto Banerjee [email protected] Professor, Department of Biostatistics UCLA

Licensing

JAMAJniLite is licensed under the Creative Commons Attribution License.

jamajnilite's People

Contributors

luzhangstat avatar pkuxchen avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.