All Projects → mateogianolio → Vectorious

mateogianolio / Vectorious

Licence: other
Linear algebra in TypeScript.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Vectorious

Armadillo Code
Armadillo: fast C++ library for linear algebra & scientific computing - http://arma.sourceforge.net
Stars: ✭ 388 (-37.01%)
Mutual labels:  matrix, vector, linear-algebra, blas
Fmatvec
A fast vector/matrix library
Stars: ✭ 5 (-99.19%)
Mutual labels:  matrix, vector, 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 (-60.88%)
Mutual labels:  matrix, vector, linear-algebra, blas
Lacaml
OCaml bindings for BLAS/LAPACK (high-performance linear algebra Fortran libraries)
Stars: ✭ 101 (-83.6%)
Mutual labels:  matrix, vector, linear-algebra, blas
Node Sylvester
🐱 Sylvester is a vector, matrix, and geometry library for JavaScript, that runs in the browser and on the server.
Stars: ✭ 144 (-76.62%)
Mutual labels:  matrix, vector, linear-algebra
Matrix
Easy-to-use Scientific Computing library in/for C++ available for Linux and Windows.
Stars: ✭ 20 (-96.75%)
Mutual labels:  vector, matrix, linear-algebra
Libxsmm
Library for specialized dense and sparse matrix operations, and deep learning primitives.
Stars: ✭ 518 (-15.91%)
Mutual labels:  matrix, vector, blas
linnea
Linnea is an experimental tool for the automatic generation of optimized code for linear algebra problems.
Stars: ✭ 60 (-90.26%)
Mutual labels:  linear-algebra, high-performance-computing, blas
Nalgebra
Linear algebra library for Rust.
Stars: ✭ 2,433 (+294.97%)
Mutual labels:  matrix, vector, linear-algebra
monolish
monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Stars: ✭ 166 (-73.05%)
Mutual labels:  matrix, linear-algebra, blas
LinAlg
实现一个线性代数库,为Python写扩展。《程序猿的数学3 线性代数》读后笔记
Stars: ✭ 17 (-97.24%)
Mutual labels:  vector, matrix, linear-algebra
Mathematics for Machine Learning
Learn mathematics behind machine learning and explore different mathematics in machine learning.
Stars: ✭ 28 (-95.45%)
Mutual labels:  vector, matrix, linear-algebra
Eigen Git Mirror
THIS MIRROR IS DEPRECATED -- New url: https://gitlab.com/libeigen/eigen
Stars: ✭ 1,659 (+169.32%)
Mutual labels:  matrix, linear-algebra, blas
Numphp
Mathematical PHP library for scientific computing
Stars: ✭ 120 (-80.52%)
Mutual labels:  matrix, vector, linear-algebra
Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+226.14%)
Mutual labels:  matrix, vector, linear-algebra
fml
Fused Matrix Library
Stars: ✭ 24 (-96.1%)
Mutual labels:  matrix, linear-algebra, blas
Blis
BLAS-like Library Instantiation Software Framework
Stars: ✭ 859 (+39.45%)
Mutual labels:  linear-algebra, blas, high-performance-computing
Cgmath
A linear algebra and mathematics library for computer graphics.
Stars: ✭ 773 (+25.49%)
Mutual labels:  matrix, vector, linear-algebra
sparse
Sparse matrix formats for linear algebra supporting scientific and machine learning applications
Stars: ✭ 136 (-77.92%)
Mutual labels:  vector, matrix, blas
Tensor
A library and extension that provides objects for scientific computing in PHP.
Stars: ✭ 146 (-76.3%)
Mutual labels:  vector, matrix, linear-algebra

Vectorious Logo

A linear algebra library, written in TypeScript and accelerated with C++ bindings to BLAS and LAPACK.

Usage

Follow the installation instructions in nlapack and nblas to get maximum performance.

# with C++ bindings
$ npm install vectorious

# or, if you don't want C++ bindings
$ npm install vectorious --no-optional
import v = require('vectorious');

const x = v.random(2, 2);
/*
array([
  [
    0.26472008228302,
    0.4102575480937958
  ],
  [
    0.4068726599216461,
    0.4589384198188782
  ]
], dtype=float32)
*/

const y = v.range(0, 9).reshape(3, 3);
/*
array([
  [ 0, 1, 2 ],
  [ 3, 4, 5 ],
  [ 6, 7, 8 ]
], dtype=float32)
*/

const z = v.array([[1, 2], [3, 4]]);
/*
array([ [ 1, 2 ], [ 3, 4 ] ], dtype=float32)
*/

x.add(z);
/*
array([
  [
    1.26472008228302,
    2.410257577896118
  ],
  [
    3.4068727493286133,
    4.4589385986328125
  ]
], dtype=float32)
*/

Examples

Basic

Machine learning

Documentation

Benchmarks

Run benchmarks with

npm run benchmark
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].