Code Monkey home page Code Monkey logo

nalgebra_lapack's Introduction

nalgebra-lapack Version Status Doc

Rust library for linear algebra using nalgebra and LAPACK.

Copy of nalgebra-lapack with dependencies patch.

Documentation

Documentation is available here.

License

MIT

Cargo features to select lapack provider

Like the lapack crate from which this behavior is inherited, nalgebra-lapack uses cargo features to select which lapack provider (or implementation) is used. Command line arguments to cargo are the easiest way to do this, and the best provider depends on your particular system. In some cases, the providers can be further tuned with environment variables.

Below are given examples of how to invoke cargo build on two different systems using two different providers. The --no-default-features --features "provider" arguments will be consistent for other cargo commands.

Ubuntu

As tested on Ubuntu 12.04, do this to build the lapack package against the system installation of netlib without LAPACKE (note the E) or CBLAS:

sudo apt-get install gfortran libblas3gf liblapack3gf
export CARGO_FEATURE_SYSTEM_NETLIB=1
export CARGO_FEATURE_EXCLUDE_LAPACKE=1
export CARGO_FEATURE_EXCLUDE_CBLAS=1

export CARGO_FEATURES="--no-default-features --features netlib"
cargo build ${CARGO_FEATURES}

macOS

On macOS, do this to use Apple's Accelerate framework:

export CARGO_FEATURES="--no-default-features --features accelerate"
cargo build ${CARGO_FEATURES}

Contributors

This integration of LAPACK on nalgebra was initiated by Andrew Straw. It then became officially supported and integrated to the main nalgebra repository.

nalgebra_lapack's People

Contributors

andreybychkov avatar

Stargazers

 avatar

Watchers

 avatar  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.