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 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 139 All time: 7,911 This week: 1,153Up
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
  Performance   Level  
Name: Jon Lawrence <contact>
Classes: 4 packages by
Country: United States United States
Age: 31
All time rank: 800101 in United States United States
Week rank: 618 Up63 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:139All time:7,911
 This week:0This week:1,153Up
 User Comments (2)  
3 years ago (Octavio Leon)
Excellent job.
3 years ago (alfredo de oliveira)