All Projects → sciphp → numphp

sciphp / numphp

Licence: MIT license
PHP tools for matrix computation

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to numphp

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 (+7936%)
Mutual labels:  matrix, linear-algebra
Mathnet Numerics
Math.NET Numerics
Stars: ✭ 2,688 (+10652%)
Mutual labels:  matrix, linear-algebra
Nalgebra
Linear algebra library for Rust.
Stars: ✭ 2,433 (+9632%)
Mutual labels:  matrix, linear-algebra
Mathematics for Machine Learning
Learn mathematics behind machine learning and explore different mathematics in machine learning.
Stars: ✭ 28 (+12%)
Mutual labels:  matrix, linear-algebra
eigen-js
⚡ Eigen-js is a port of the Eigen C++ linear algebra library
Stars: ✭ 78 (+212%)
Mutual labels:  matrix, linear-algebra
Eigen Git Mirror
THIS MIRROR IS DEPRECATED -- New url: https://gitlab.com/libeigen/eigen
Stars: ✭ 1,659 (+6536%)
Mutual labels:  matrix, linear-algebra
Peroxide
Rust numeric library with R, MATLAB & Python syntax
Stars: ✭ 191 (+664%)
Mutual labels:  matrix, linear-algebra
Numeric
N-dimensional matrix class for Rust
Stars: ✭ 51 (+104%)
Mutual labels:  matrix, linear-algebra
LinAlg
实现一个线性代数库,为Python写扩展。《程序猿的数学3 线性代数》读后笔记
Stars: ✭ 17 (-32%)
Mutual labels:  matrix, linear-algebra
Pygraphblas
GraphBLAS for Python
Stars: ✭ 252 (+908%)
Mutual labels:  matrix, linear-algebra
Numphp
Mathematical PHP library for scientific computing
Stars: ✭ 120 (+380%)
Mutual labels:  matrix, linear-algebra
linalg
Linear algebra library based on LAPACK
Stars: ✭ 42 (+68%)
Mutual labels:  matrix, linear-algebra
Lacaml
OCaml bindings for BLAS/LAPACK (high-performance linear algebra Fortran libraries)
Stars: ✭ 101 (+304%)
Mutual labels:  matrix, linear-algebra
Node Sylvester
🐱 Sylvester is a vector, matrix, and geometry library for JavaScript, that runs in the browser and on the server.
Stars: ✭ 144 (+476%)
Mutual labels:  matrix, linear-algebra
Spmp
sparse matrix pre-processing library
Stars: ✭ 62 (+148%)
Mutual labels:  matrix, linear-algebra
Phpsci Carray
PHP library for scientific computing powered by C
Stars: ✭ 176 (+604%)
Mutual labels:  matrix, linear-algebra
Owl
Owl - OCaml Scientific and Engineering Computing @ http://ocaml.xyz
Stars: ✭ 919 (+3576%)
Mutual labels:  matrix, linear-algebra
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+3416%)
Mutual labels:  matrix, linear-algebra
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 (+864%)
Mutual labels:  matrix, linear-algebra
eigen
Owl's OCaml Interface to Eigen3 C++ Library
Stars: ✭ 30 (+20%)
Mutual labels:  matrix, linear-algebra

NumPhp Build Status Test Coverage Code Climate

NumPhp is a port of the famous NumPy (Python) package in PHP language.

Table of contents


Requirements

NumPhp supports PHP 7.2, 7.3 7.4 and 8.0.


Install

composer require sciphp/numphp

Basic usage

use SciPhp\NumPhp as np;

$m = np::ar(
  [[ 1, 0, 0],
   [ 0, 1, 0],
   [ 0, 0, 1]]
)->dot(42);

echo "m.42 =\n$m";

will output:

m.42 =
[[ 42,  0,  0 ],
 [  0, 42,  0 ],
 [  0,  0, 42 ]]

Documentation

NdArray attributes


NdArray methods


NumPhp methods


In the complete documentation, you will find all implemented stuff including some Linear Algebra methods like matrix norms and Cholesky transformation.


Contributing

Feel free to open issues and make PR. Contributions are welcome.

If you find a mistake or think an example is missing in the documentation, it's hosted on numphp-doc repository.

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