Matrix

Matrix is an ESDL class that performs several matrix computations.

Methods

Arguments

Return Value

getElement

x::udisc

y::udisc

cont

lineMvec

line::udisc

vec::array[cont]

cont

xLength

none

udisc

yLength

none

udisc

On activation of method

getElement

Returns the matrix element at position [x][y].

lineMvec

Returns the scalar product, i.e. multiplies the matrix elements of row line with the array elements of the array argument vec and returns the sum of the multiplication results.

xLength

Returns the X size of the matrix.

yLength

Returns the Y size of the matrix.