PHP Classes

PHP Matrix Math Library: Perform operations to manipulate matrices

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 90 All time: 9,863 This week: 147Up
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 is available for providing paid consulting. Contact Clement Sam .
Classes: 4 packages by
Country: Ghana Ghana
Age: 24
All time rank: 29572 in Ghana Ghana
Week rank: 117 Up1 in Ghana Ghana Up
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 PageExternal page  

Open in a separate window

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script
Plain text file matrix.class.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:90
This week:0
All time:9,863
This week:147Up