Giter Site home page Giter Site logo

victor-yacovlev / erlynum Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 0.0 93 KB

A library for Erlang/OTP (and Elixir language) of numerical routines on single and double-precision real and complex number vectors and matrices

License: Other

CMake 1.27% C 78.29% Erlang 18.88% Makefile 1.56%
erlang-library erlang erlang-nif blas numerical-methods linear-algebra

erlynum's Introduction

erlynum

A library for Erlang/OTP (and Elixir language) of numerical routines on
single and double-precision real and complex number vectors and matrices.

Overview

The library provides a generic plain arrays support for Erlang. These arrays might have a 'view' of vector (1-dimension) or matrix (2-dimension).

The most common operations to be supported {TODO}: summ, axpy, scale, cdot etc.

These operations mostly implemented using BLAST backend library (required at runtime) to achieve possible utilization of SIMD instructions and gain the best performance.

The following BLAS backends are supported:

  • Open Source:
  • Non-Open Source:
    • Intel Math Kernel Library - extremely optimized for modern Intel processors. There is free version available for non-commercial use.

Status

The software is at early development stage now. At present it allows to create vectors and matrices, and perform some BLAS Level 1 operations.

The future development (in order of priority):

  • Complete set of vector operations conforming to BLAS Level 1
  • Matrix to vector and vector to matrix operations (BLAS Level 2)
  • Matrix to matrix operations (BLAS Level 3)
  • Element-wise common math functions
  • Random values vector generations for several distributions
  • Common statistical functions (1-dimension and 2-dimension)
  • Something else. The final goal is to gain about NumPy functionality.

Prerequirements

  • Erlang/OTP >= 18
  • rebar3 (preferred) or rebar make tool
  • Modern GNU C Compliler (gcc) to build module itself
  • One of the cBLAS-interface libraries available at runtime (not required to build)

Build

$ rebar3 compile edoc

or

$ rebar compile

API Reference

Build with edoc (supported by rebar3) and use it!

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.