All Projects → phpsci → Phpsci Carray

phpsci / Phpsci Carray

Licence: other
PHP library for scientific computing powered by C

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Phpsci Carray

sparse
Sparse matrix formats for linear algebra supporting scientific and machine learning applications
Stars: ✭ 136 (-22.73%)
Mutual labels:  matrix, scientific-computing, matrices
Owl
Owl - OCaml Scientific and Engineering Computing @ http://ocaml.xyz
Stars: ✭ 919 (+422.16%)
Mutual labels:  matrix, linear-algebra, scientific-computing
Armadillo Code
Armadillo: fast C++ library for linear algebra & scientific computing - http://arma.sourceforge.net
Stars: ✭ 388 (+120.45%)
Mutual labels:  matrix, linear-algebra, scientific-computing
Peroxide
Rust numeric library with R, MATLAB & Python syntax
Stars: ✭ 191 (+8.52%)
Mutual labels:  matrix, linear-algebra, scientific-computing
Tensor
A library and extension that provides objects for scientific computing in PHP.
Stars: ✭ 146 (-17.05%)
Mutual labels:  matrix, linear-algebra, scientific-computing
monolish
monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Stars: ✭ 166 (-5.68%)
Mutual labels:  matrix, linear-algebra, scientific-computing
Fmatvec
A fast vector/matrix library
Stars: ✭ 5 (-97.16%)
Mutual labels:  matrix, linear-algebra, matrices
Easytensor
Many-dimensional type-safe numeric ops
Stars: ✭ 35 (-80.11%)
Mutual labels:  linear-algebra, matrices
Sharpmath
A small .NET math library.
Stars: ✭ 36 (-79.55%)
Mutual labels:  matrix, matrices
Numeric
N-dimensional matrix class for Rust
Stars: ✭ 51 (-71.02%)
Mutual labels:  matrix, linear-algebra
Aardvark.base
Aardvark is an open-source platform for visual computing, real-time graphics and visualization. This repository is the basis for most platform libraries and provides basic functionality such as data-structures, math and much more.
Stars: ✭ 117 (-33.52%)
Mutual labels:  linear-algebra, matrices
Nasoq
NASOQ:Numerically Accurate Sparsity Oriented QP Solver
Stars: ✭ 30 (-82.95%)
Mutual labels:  linear-algebra, scientific-computing
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+399.43%)
Mutual labels:  matrix, 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 (+1041.48%)
Mutual labels:  matrix, linear-algebra
Mumps.jl
A Julia Interface to MUMPS
Stars: ✭ 6 (-96.59%)
Mutual labels:  matrix, linear-algebra
Spmp
sparse matrix pre-processing library
Stars: ✭ 62 (-64.77%)
Mutual labels:  matrix, linear-algebra
Nalgebra
Linear algebra library for Rust.
Stars: ✭ 2,433 (+1282.39%)
Mutual labels:  matrix, linear-algebra
Lacaml
OCaml bindings for BLAS/LAPACK (high-performance linear algebra Fortran libraries)
Stars: ✭ 101 (-42.61%)
Mutual labels:  matrix, linear-algebra
Gosl
Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.
Stars: ✭ 1,629 (+825.57%)
Mutual labels:  linear-algebra, scientific-computing
Machinelearning
An easy neural network for Java!
Stars: ✭ 122 (-30.68%)
Mutual labels:  matrix, matrices
PHPSci CArray Logo

PHPSci CArray Extension

PHPSci CArray is a high-performance scientific computing library for PHP developed in C and based on the original NumPy code. CArrays offer a solid alternative to PHP arrays as well as compatibility with codes developed using NumPy.

  • High Performance Indexing and Data Access
  • Low memory footprint compared to PHP Arrays
  • Efficient shape, initializers, linear algebra and mathematical methods.
  • Out of the box GPU integration (Cuda)

Installing

It's really easy to compile this extension using Linux environments.

Requirements

  • php-devel (php-dev)
  • PHP 7.2
  • OpenBLAS

Optional

  • cuBLAS (For GPU Integration)

Ubuntu 20.04

$ sudo add-apt-repository -y ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install libopenblas-dev libatlas-base-dev liblapacke-dev php7.4-dev
$ phpize
$ ./configure
$ make test
$ sudo make install
$ echo 'extension=carray' | sudo tee /etc/php/7.4/cli/conf.d/20-carray.ini
$ echo 'extension=carray' | sudo tee /etc/php/7.4/fpm/conf.d/20-carray.ini
$ echo 'extension=carray' | sudo tee /etc/php/7.4/cgi/conf.d/20-carray.ini
$ echo 'extension=carray' | sudo tee /etc/php/7.4/apache2/conf.d/20-carray.ini

Ubuntu 16.04

$ add-apt-repository -y ppa:ondrej/php
$ apt-get update
$ apt-get install libblas-dev libatlas-base-dev liblapacke-dev php7.2-dev
$ phpize
$ ./configure
$ make test
$ make install

Ubuntu 14.04

$ add-apt-repository -y ppa:ondrej/php
$ apt-get update
$ apt-get install libopenblas-dev liblapacke-dev php7.2-dev
$ phpize
$ ./configure
$ make test
$ make install

Don't forget to check if the extension is enabled in your php.ini file.

Apache/NGINX Users: Don't forget to restart your services.

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