PHP Classes

LW_Matrix: Perform math operations with matrices

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-08-08 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 135 This week: 1All time: 7,687 This week: 1,388Up
Version License PHP version Categories  
lw-matrix 1.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
Name: Jon Lawrence <contact>
Classes: 4 packages by
Country: United States United States
Age: 30
All time rank: 804100 in United States United States
Week rank: 351 Up39 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  
 0%Total:135All time:7,687
 This week:1This week:1,388Up
 User Comments (2)  
2 years ago (Octavio Leon)
Excellent job.
2 years ago (alfredo de oliveira)