PHP Interface Trismegiste\Mondrian\Algebra\Matrix

Show file Open project: trismegiste/mondrian

Public Methods

Method Description
get ( integer $line, integer $column ) : numeric Get coefficient in this matrix Use the algebra order line x column
getSize ( ) : integer get the size of this matrix
set ( integer $line, integer $column, numeric $value ) Set a coefficient in this matrix

Method Details

get() public method

Get coefficient in this matrix Use the algebra order line x column
public get ( integer $line, integer $column ) : numeric
$line integer
$column integer
return numeric

getSize() public method

get the size of this matrix
public getSize ( ) : integer
return integer

set() public method

Set a coefficient in this matrix
public set ( integer $line, integer $column, numeric $value )
$line integer
$column integer
$value numeric