PHP Matrix Math Library: Perform operations to manipulate matrices

Recommend this page to a friend!
  Info   Example   Demos   View files (4)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 74 All time: 9,617 This week: 279
Version License PHP version Categories
php-maths-matrix 1.0.0GNU General Publi...5PHP 5, Data types, Math
Description Author

This class can perform operations to manipulate matrices

It can take bi-dimensional arrays with numbers as parameters and can perform several types of matrix operations. Currently it can:

- Multiply two matrices
- Divide two matrices by inverting one matrix and multiplying by another
- Invert a matrix
- Add or subtract two matrices
- Transpose a matrix
- Display a matrix in a HTML page
- Check if a matrix is squared
- Find the determinant of a matrix
- Find the adjunct matrix
- Calculate a matrix co-factor
- Calculate a matrix minor
- Solve an equation given two matrices of factors

Recommendations

Perform matrix arithmetic
I need to compute determinats

Picture of Clement Sam
  Performance   Level  
Name: Clement Sam <contact>
Classes: 4 packages by
Country: Ghana Ghana
Innovation award
Innovation award
Nominee: 1x

Details

PHP Matrix Maths Library

This class can perform operations to manipulate matrices

It can take bi-dimensional arrays with numbers as parameters and can perform several types of matrix operations. Currently it can:

  • Multiply two matrices
  • Divide two matrices by inverting one matrix and multiplying by another
  • Invert a matrix
  • Add or subtract two matrices
  • Transpose a matrix
  • Display a matrix in a HTML page
  • Check if a matrix is squared
  • Find the determinant of a matrix
  • Find the adjunct matrix
  • Calculate a matrix co-factor
  • Calculate a matrix minor
  • Solve an equation given two matrices of factors

Demo & Usage

php-maths-matrix.herokuapp.com

  PHP Maths Matrix Demo Page  
  Files  
File Role Description
index.php Example Example script
matrix.class.php Class Class source
README.md Doc. Documentation
test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:74
This week:0
All time:9,617
This week:279

For more information send a message to info at phpclasses dot org.