PHP Classes

LW_Matrix: Perform math operations with matrices

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 156 All time: 8,881 This week: 208Up
Version License PHP version Categories
lw-matrix 1.0.0GNU Lesser Genera...5.0PHP 5, Math
Description Author

This class can perform math operations with matrices.

It can take the definition of a matrix as a string with the values of the elements separated by commas and the rows by semi-colons.

It can also create an identity matrix given its size.

The class can perform several types of operations with matrices like add or subtract another matrix, multiply by a scalar value or by another matrix, get the determinant, get the cofactor, transpose the matrix, adjugate and invert.

Picture of Jon Lawrence
  Performance   Level  
Name: Jon Lawrence <contact>
Classes: 4 packages by
Country: United States United States
Age: 37
All time rank: 789103 in United States United States
Week rank: 756 Up73 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  • linear_screenshot.jpg
  Files folder image Files  
File Role Description
Plain text file matrix.class.php Class Main Class
Accessible without login Plain text file linear.matrix.php Example Solve Linear Equations
Accessible without login Plain text file matrix.example.php Example Example usage

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,881
This week:208Up
User Comments (2)
9 years ago (Octavio Leon)
Excellent job.
9 years ago (alfredo de oliveira)
For more information send a message to info at phpclasses dot org.