Todo List
[line 42]
Matrix arrayLeftDivide( Matrix $B)
Element-by-element Left division A / B
Matrix arrayLeftDivideEquals( mixed $B)
Element-by-element Left division Aij = Aij / Bij
PHPExcel_Shared_JAMA_Matrix __construct( )
As PHP has no support for polymorphic constructors, we hack our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor.
Matrix arrayRightDivide( Matrix $B)
Element-by-element right division A / B
Matrix arrayRightDivideEquals( mixed $B)
Element-by-element right division Aij = Aij / Bij
Matrix arrayTimes( mixed $B)
Element-by-element multiplication Cij = Aij * Bij
Matrix arrayTimesEquals( mixed $B)
Element-by-element multiplication Aij = Aij * Bij
boolean checkMatrixDimensions( [Matrix $B = null])
Is matrix B the same size?
Matrix concat( mixed $B)
A = A & B
float det( )
Calculate determinant
Matrix diagonal( [int $m = null], [int $n = null], [mixed $c = 1])
Generate a diagonal matrix
mixed get( [int $i = null], [int $j = null])
Get the i,j-th element of the matrix.
array getArray( )
int getColumnDimension( )
Matrix getMatrix( int $i0, int $iF, int $j0, int $jF)
Get a submatrix
Matrix getMatrixByCol( [ $j0 = null], [ $jF = null], int $i0, int $iF)
Get a submatrix by column index/range
Matrix getMatrixByRow( [int $i0 = null], [int $iF = null])
Get a submatrix by row index/range
int getRowDimension( )
Matrix identity( [int $m = null], [int $n = null])
Generate an identity matrix.
Matrix inverse( )
Matrix minus( mixed $B)
A - B
Matrix minusEquals( mixed $B)
A = A - B
Matrix plus( mixed $B)
A + B
Matrix plusEquals( mixed $B)
A = A + B
Matrix power( mixed $B)
A = A ^ B
mixed set( [int $i = null], [int $j = null], [mixed $c = null])
Set the i,j-th element of the matrix.
Matrix solve( Matrix $B)
Matrix times( mixed $n)
Matrix multiplication
float trace( )
Sum of diagonal elements
Matrix transpose( )
Tranpose matrix
Matrix uminus( )
Unary minus matrix -A
[line 32]
[line 31]
[line 34]
[line 33]
[line 30]