\Trismegiste\Mondrian\AlgebraMatrix

A 2D matrix

Summary

Methods
Constants
getSize()
get()
set()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getSize()

getSize() : integer

get the size of this matrix

Returns

integer

get()

get(integer  $line, integer  $column) : \Trismegiste\Mondrian\Algebra\numeric

Get coefficient in this matrix Use the algebra order line x column

Parameters

integer $line
integer $column

Returns

\Trismegiste\Mondrian\Algebra\numeric

set()

set(integer  $line, integer  $column, \Trismegiste\Mondrian\Algebra\numeric  $value) 

Set a coefficient in this matrix

Parameters

integer $line
integer $column
\Trismegiste\Mondrian\Algebra\numeric $value