\Trismegiste\Mondrian\AlgebraByteMatrix

ByteMatrix is a compressed matrix of unsigned shortint

Summary

Methods
Properties
Constants
__construct()
getSize()
get()
set()
No public properties found
CHAR_PER_COEFF
No protected methods found
$dimension
$content
N/A
No private methods found
No private properties found
N/A

Constants

CHAR_PER_COEFF

CHAR_PER_COEFF

Properties

$dimension

$dimension : 

Type

$content

$content : 

Type

Methods

__construct()

__construct(integer  $dimension) 

build a square matrix

Parameters

integer $dimension

size of matrix

getSize()

getSize() : integer

get the size of this matrix

Returns

integer

get()

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

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

Parameters

$line
$column

Returns

\Trismegiste\Mondrian\Algebra\numeric

set()

set(  $line,   $column,   $value) 

Set a coefficient in this matrix

Parameters

$line
$column
$value