Math_Matrix
[ class tree: Math_Matrix ] [ index: Math_Matrix ] [ all elements ]

Element index for package Math_Matrix

[ a ] [ c ] [ d ] [ g ] [ i ] [ m ] [ n ] [ r ] [ s ] [ t ] [ v ] [ w ] [ _ ]

_

_maxElementIndex
in file Matrix.php, method Math_Matrix::_maxElementIndex()
    Returns the index of the row with the maximum value under column of the element e[i][i]
top

a

add
in file Matrix.php, method Math_Matrix::add()
    Adds a matrix to this one
top

c

cloneMatrix
in file Matrix.php, method Math_Matrix::cloneMatrix()
    Returns a new Math_Matrix object with the same data as the current one
top

d

determinant
in file Matrix.php, method Math_Matrix::determinant()
    Calculates the matrix determinant using Gaussian elimination with partial pivoting.
top

g

getCol
in file Matrix.php, method Math_Matrix::getCol()
    Returns the column with the given index
getData
in file Matrix.php, method Math_Matrix::getData()
    Returns the array of arrays.
getDiagonal
in file Matrix.php, method Math_Matrix::getDiagonal()
    Returns the diagonal of a square matrix as a Math_Vector
getElement
in file Matrix.php, method Math_Matrix::getElement()
    Returns the value of the element at (row,col)
getMax
in file Matrix.php, method Math_Matrix::getMax()
    Returns the maximum value of the elements in the matrix
getMaxIndex
in file Matrix.php, method Math_Matrix::getMaxIndex()
    Gets the position of the element with the maximum value
getMin
in file Matrix.php, method Math_Matrix::getMin()
    Returns the minimum value of the elements in the matrix
getMinIndex
in file Matrix.php, method Math_Matrix::getMinIndex()
    Gets the position of the element with the minimum value
getRow
in file Matrix.php, method Math_Matrix::getRow()
    Returns the row with the given index
getSize
in file Matrix.php, method Math_Matrix::getSize()
    Returns an array with the number of rows and columns in the matrix
getSubMatrix
in file Matrix.php, method Math_Matrix::getSubMatrix()
    Returns a submatrix from the position (row, col), with nrows and ncols
getValueIndex
in file Matrix.php, method Math_Matrix::getValueIndex()
    Gets the position of the first element with the given value
getZeroThreshold
in file Matrix.php, method Math_Matrix::getZeroThreshold()
    Returns the value of the upper bound used to minimize round off errors
top

i

invert
in file Matrix.php, method Math_Matrix::invert()
    Inverts a matrix using Gauss-Jordan elimination with partial pivoting
isEmpty
in file Matrix.php, method Math_Matrix::isEmpty()
    Checks if the matrix has been initialized.
isMatrix
in file Matrix.php, method Math_Matrix::isMatrix()
    Checks if the object is a Math_Matrix instance
isSquare
in file Matrix.php, method Math_Matrix::isSquare()
    Checks if it is a square matrix (i.e. num rows == num cols)
top

m

makeHankel
in file Matrix.php, method Math_Matrix::makeHankel()
    Returns a Hankel matrix from a array of size m (C), and (optionally) of
makeHilbert
in file Matrix.php, method Math_Matrix::makeHilbert()
    Returns a Hilbert matrix of the given size: H(i,j) = 1 / (i + j - 1) where {i,j = 1..n}
makeIdentity
in file Matrix.php, method Math_Matrix::makeIdentity()
    Returns the identity matrix of the given size. An alias of Math_Matrix::makeUnit()
makeMatrix
in file Matrix.php, method Math_Matrix::makeMatrix()
    Returns a Math_Matrix object of size (nrows, ncols) filled with a value
makeOne
in file Matrix.php, method Math_Matrix::makeOne()
    Returns the Math_Matrix object of size (nrows, ncols), filled with the value 1 (one)
makeUnit
in file Matrix.php, method Math_Matrix::makeUnit()
    Returns a square unit Math_Matrix object of the given size
makeZero
in file Matrix.php, method Math_Matrix::makeZero()
    Returns the Math_Matrix object of size (nrows, ncols), filled with the value 0 (zero)
Math_Matrix
in file Matrix.php, class Math_Matrix
    Defines a matrix object.
Math_Matrix
in file Matrix.php, method Math_Matrix::Math_Matrix()
    Constructor for the matrix object
Matrix.php
procedural page Matrix.php
multiply
in file Matrix.php, method Math_Matrix::multiply()
    Multiplies this matrix (A) by another one (B), and stores the result back in A
top

n

norm
in file Matrix.php, method Math_Matrix::norm()
    Returns the Euclidean norm of the matrix.
normalizedDeterminant
in file Matrix.php, method Math_Matrix::normalizedDeterminant()
    Returns the normalized determinant = abs(determinant)/(euclidean norm)
top

r

readFromFile
in file Matrix.php, method Math_Matrix::readFromFile()
    Create a matrix from a file, using data stored in the given format
top

s

scale
in file Matrix.php, method Math_Matrix::scale()
    Scales the matrix by a given factor
scaleRow
in file Matrix.php, method Math_Matrix::scaleRow()
    Multiplies (scales) a row by the given factor
setCol
in file Matrix.php, method Math_Matrix::setCol()
    Sets the column with the given index to the array
setData
in file Matrix.php, method Math_Matrix::setData()
    Validates the data and initializes the internal variables (except for the determinant).
setElement
in file Matrix.php, method Math_Matrix::setElement()
    Sets the value of the element at (row,col)
setRow
in file Matrix.php, method Math_Matrix::setRow()
    Sets the row with the given index to the array
setZeroThreshold
in file Matrix.php, method Math_Matrix::setZeroThreshold()
    Sets the threshold to consider a numeric value as zero: if number <= epsilon then number = 0
solve
in file Matrix.php, method Math_Matrix::solve()
    Solves a system of linear equations: Ax = b
solveEC
in file Matrix.php, method Math_Matrix::solveEC()
    Solves a system of linear equations: Ax = b, using an iterative error correction algorithm
sub
in file Matrix.php, method Math_Matrix::sub()
    Substracts a matrix from this one
swapCols
in file Matrix.php, method Math_Matrix::swapCols()
    Swaps the columns with the given indices
swapRowCol
in file Matrix.php, method Math_Matrix::swapRowCol()
    Swaps a given row with a given column. Only valid for square matrices.
swapRows
in file Matrix.php, method Math_Matrix::swapRows()
    Swaps the rows with the given indices
top

t

toHTML
in file Matrix.php, method Math_Matrix::toHTML()
    Returns an HTML table representation of the matrix elements
toString
in file Matrix.php, method Math_Matrix::toString()
    Returns a simple string representation of the matrix
trace
in file Matrix.php, method Math_Matrix::trace()
    Returns the trace of the matrix. Trace = sum(e[i][j]), for all i == j
transpose
in file Matrix.php, method Math_Matrix::transpose()
    Transpose the matrix rows and columns
top

v

vectorMultiply
in file Matrix.php, method Math_Matrix::vectorMultiply()
    Multiplies a vector by this matrix
top

w

writeToFile
in file Matrix.php, method Math_Matrix::writeToFile()
    Writes matrix object to a file using the given format
top

Documentation generated on Mon, 11 Mar 2019 15:39:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.