All Projects → kaleidicassociates → lubeck

kaleidicassociates / lubeck

Licence: BSL-1.0 license
High level linear algebra library for Dlang

Programming Languages

d
599 projects
Meson
512 projects
Makefile
30231 projects

Projects that are alternatives of or similar to lubeck

Blis
BLAS-like Library Instantiation Software Framework
Stars: ✭ 859 (+1407.02%)
Mutual labels:  high-performance, linear-algebra, blas
Tf Quant Finance
High-performance TensorFlow library for quantitative finance.
Stars: ✭ 2,925 (+5031.58%)
Mutual labels:  high-performance, quantitative-finance, numerical-methods
NAGPythonExamples
Examples and demos showing how to call functions from the NAG Library for Python
Stars: ✭ 46 (-19.3%)
Mutual labels:  linear-algebra, quantitative-finance, numerical-methods
Quant Notes
Quantitative Interview Preparation Guide, updated version here ==>
Stars: ✭ 180 (+215.79%)
Mutual labels:  linear-algebra, quantitative-finance, numerical-methods
Blasfeo
Basic linear algebra subroutines for embedded optimization
Stars: ✭ 120 (+110.53%)
Mutual labels:  high-performance, linear-algebra, blas
Lacaml
OCaml bindings for BLAS/LAPACK (high-performance linear algebra Fortran libraries)
Stars: ✭ 101 (+77.19%)
Mutual labels:  linear-algebra, blas
Xtensor Blas
BLAS extension to xtensor
Stars: ✭ 102 (+78.95%)
Mutual labels:  linear-algebra, blas
Eigen Git Mirror
THIS MIRROR IS DEPRECATED -- New url: https://gitlab.com/libeigen/eigen
Stars: ✭ 1,659 (+2810.53%)
Mutual labels:  linear-algebra, blas
Vectorious
Linear algebra in TypeScript.
Stars: ✭ 616 (+980.7%)
Mutual labels:  linear-algebra, blas
Cython Blis
💥 Fast matrix-multiplication as a self-contained Python library – no system dependencies!
Stars: ✭ 165 (+189.47%)
Mutual labels:  linear-algebra, blas
Blasjs
Pure Javascript manually written 👌 implementation of BLAS, Many numerical software applications use BLAS computations, including Armadillo, LAPACK, LINPACK, GNU Octave, Mathematica, MATLAB, NumPy, R, and Julia.
Stars: ✭ 241 (+322.81%)
Mutual labels:  linear-algebra, blas
Cotila
A compile-time linear algebra system for C++
Stars: ✭ 78 (+36.84%)
Mutual labels:  linear-algebra, blas
Quant Finance Resources
Courses, Articles and many more which can help beginners or professionals.
Stars: ✭ 36 (-36.84%)
Mutual labels:  linear-algebra, quantitative-finance
Kokkos Kernels
Kokkos C++ Performance Portability Programming EcoSystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Stars: ✭ 113 (+98.25%)
Mutual labels:  linear-algebra, blas
Fmatvec
A fast vector/matrix library
Stars: ✭ 5 (-91.23%)
Mutual labels:  linear-algebra, blas
Libflame
High-performance object-based library for DLA computations
Stars: ✭ 197 (+245.61%)
Mutual labels:  high-performance, linear-algebra
100daysofmlcode
My journey to learn and grow in the domain of Machine Learning and Artificial Intelligence by performing the #100DaysofMLCode Challenge.
Stars: ✭ 146 (+156.14%)
Mutual labels:  big-data, linear-algebra
MatlabJuliaMatrixOperationsBenchmark
Benchmark MATLAB & Julia for Matrix Operations
Stars: ✭ 21 (-63.16%)
Mutual labels:  linear-algebra, blas
Armadillo Code
Armadillo: fast C++ library for linear algebra & scientific computing - http://arma.sourceforge.net
Stars: ✭ 388 (+580.7%)
Mutual labels:  linear-algebra, blas
numerics
library of numerical methods using Armadillo
Stars: ✭ 17 (-70.18%)
Mutual labels:  linear-algebra, numerical-methods

Gitter Build Status Dub downloads Dub downloads License Latest version

Lubeck

High level linear algebra library for Dlang

Required system libraries

See wiki: Link with CBLAS & LAPACK.

API

  • mtimes - General matrix-matrix, row-matrix, matrix-column, and row-column multiplications.
  • mldivide - Solve systems of linear equations AX = B for X. Computes minimum-norm solution to a linear least squares problem if A is not a square matrix.
  • inv - Inverse of matrix.
  • svd - Singular value decomposition.
  • pca - Principal component analysis of raw data.
  • pinv - Moore-Penrose pseudoinverse of matrix.
  • det/detSymmetric - General/symmetric matrix determinant.
  • eigSymmetric - Eigenvalues and eigenvectors of symmetric matrix.
  • Qr decomposition: qrDecomp with solve method
  • Cholesky: choleskyDecomp with solve method
  • LU decomposition: luDecomp with solve method
  • LDL decomposition: ldlDecomp with solve method

Example

/+dub.sdl:
dependency "lubeck" version="~>0.1"
libs "lapack" "blas"
+/
// or libs "openblas"
import std.stdio;
import mir.ndslice: magic, repeat, as, slice;
import kaleidic.lubeck: mtimes;

void main()
{
    auto n = 5;
    // Magic Square
    auto matrix = n.magic.as!double.slice;
    // [1 1 1 1 1]
    auto vec = 1.repeat(n).as!double.slice;
    // Uses CBLAS for multiplication
    matrix.mtimes(vec).writeln;
    matrix.mtimes(matrix).writeln;
}

Open on run.dlang.io

Related packages


This work has been sponsored by Symmetry Investments and Kaleidic Associates.

About Kaleidic Associates

We are a boutique consultancy that advises a small number of hedge fund clients. We are not accepting new clients currently, but if you are interested in working either remotely or locally in London or Hong Kong, and if you are a talented hacker with a moral compass who aspires to excellence then feel free to drop me a line: laeeth at kaleidic.io

We work with our partner Symmetry Investments, and some background on the firm can be found here:

http://symmetryinvestments.com/about-us/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].