Skip to content

samweru-zz/mops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Operations

Installation

composer require samweru/mops

Example

require "vendor/autoload.php";

$a = array(

	array(1,2,3),
	array(4,5,6),
	array(7,8,9)
);

$b = array(

	array(11,22,33),
	array(44,55,66),
	array(77,88,99)
);

$aa = Mops\Matrix::create($a);
$bb = Mops\Matrix::create($b);

echo $aa->multiply($bb);

Other Operations

$aa->transpose();//return Mops\Matrix
$aa->yield();//return array

About

Matrix Operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages