
| Public Member Functions | |
| PMatrix (int dim) | |
| Class constructor. | |
| PMatrix (PMatrix M) | |
| Class constructor by copy. | |
| PMatrix | Plus (Parameter m2) | 
| Adds (not in place) the current matrix  to the matrix  . | |
| PMatrix | Minus (Parameter m2) | 
| Subtracts (not in place) the matrix  to the current matrix  . | |
| PMatrix | Times (double lambda) | 
| Multiplies (not in place) the current matrix  by a real number  . | |
| double | InnerProduct (Parameter m2) | 
| Computes the inner product (real number) between the current matrix  and the matrix  . | |
| PMatrix | Multiply (PMatrix m2) | 
| Multiplies (not in place) the current matrix  by the matrix  . | |
| PVector | MultiplyVectorRight (PVector v) | 
| Multiplies (not in place) the current matrix  by a vector  . | |
| PMatrix | Inverse () | 
| Computes the inverse of the current matrix  using Gauss-Jordan elimination. | |
| PMatrix | Transpose () | 
| Transposes the current matrix  . | |
| double | Determinant () | 
| Computes the determinant of the current matrix  . | |
| double | Trace () | 
| Computes the trace of the current matrix  . | |
| PMatrix | Cholesky () | 
| Computes the Cholesky decomposition of the current matrix  . | |
| String | toString () | 
| Method toString. | |
| Parameter | clone () | 
| Creates and returns a copy of the instance. | |
| int | getDimension () | 
| Returns matrix's dimension. | |
| Static Public Member Functions | |
| static PMatrix | Random (int dim) | 
| Generates a random matrix  where each element is drawn from  . | |
| static PMatrix | RandomPositiveDefinite (int dim) | 
| Generates a random matrix  such as  is a positive definite matrix: Draw a lower triangular matrix  at random and then return  . | |
| static boolean | equals (PMatrix m1, PMatrix m2) | 
| Verifies if two matrices  and  are similar. | |
| Public Attributes | |
| int | dim | 
| Dimension of the matrix. | |
| double[][] | array | 
| Array containing the values of the matrix. | |
| jMEF.PMatrix.PMatrix | ( | int | dim | ) | 
Class constructor.
| dim | dimension of the matrix | 
| jMEF.PMatrix.PMatrix | ( | PMatrix | M | ) | 
Class constructor by copy.
| M | matrix to copy | 
| PMatrix jMEF.PMatrix.Cholesky | ( | ) | 
Computes the Cholesky decomposition of the current matrix  .
. 
| Parameter jMEF.PMatrix.clone | ( | ) |  [virtual] | 
Creates and returns a copy of the instance.
Implements jMEF.Parameter.
| double jMEF.PMatrix.Determinant | ( | ) | 
Computes the determinant of the current matrix  .
. 
 
 
Verifies if two matrices  and
 and  are similar.
 are similar. 
| m1 | matrix   | |
| m2 | matrix   | 
 , false otherwise
, false otherwise | int jMEF.PMatrix.getDimension | ( | ) |  [virtual] | 
| double jMEF.PMatrix.InnerProduct | ( | Parameter | m2 | ) |  [virtual] | 
Computes the inner product (real number) between the current matrix  and the matrix
 and the matrix  .
. 
| m2 | vector   | 
 
 Implements jMEF.Parameter.
| PMatrix jMEF.PMatrix.Inverse | ( | ) | 
Computes the inverse of the current matrix  using Gauss-Jordan elimination.
 using Gauss-Jordan elimination. 
 
 
Subtracts (not in place) the matrix  to the current matrix
 to the current matrix  .
. 
| m2 | vector   | 
 
 Implements jMEF.Parameter.
Multiplies (not in place) the current matrix  by the matrix
 by the matrix  .
. 
| m2 | matrix   | 
 
 
Multiplies (not in place) the current matrix  by a vector
 by a vector  .
. 
| v | vector   | 
 
 
Adds (not in place) the current matrix  to the matrix
 to the matrix  .
. 
| m2 | matrix   | 
 
 Implements jMEF.Parameter.
| static PMatrix jMEF.PMatrix.Random | ( | int | dim | ) |  [static] | 
Generates a random matrix  where each element is drawn from
 where each element is drawn from  .
. 
| dim | dimension of the matrix | 
 
 | static PMatrix jMEF.PMatrix.RandomPositiveDefinite | ( | int | dim | ) |  [static] | 
Generates a random matrix  such as
 such as  is a positive definite matrix: Draw a lower triangular matrix
 is a positive definite matrix: Draw a lower triangular matrix  at random and then return
 at random and then return  .
. 
| dim | dimension of the matrix | 
 
 | PMatrix jMEF.PMatrix.Times | ( | double | lambda | ) |  [virtual] | 
Multiplies (not in place) the current matrix  by a real number
 by a real number  .
. 
| lambda | value   | 
 
 Implements jMEF.Parameter.
| String jMEF.PMatrix.toString | ( | ) | 
Method toString.
| double jMEF.PMatrix.Trace | ( | ) | 
Computes the trace of the current matrix  .
. 
 
 | PMatrix jMEF.PMatrix.Transpose | ( | ) | 
Transposes the current matrix  .
. 
 
 
| double [][] jMEF.PMatrix.array | 
Array containing the values of the matrix.
| int jMEF.PMatrix.dim | 
Dimension of the matrix.
 1.5.9
 1.5.9