|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.util.DMatrix
public class DMatrix
DMatrix
This class implements a few methods for matrix calculations with double numbers. Cette classe n'a pas été beaucoup testée. Doit-on enlever toutes les méthodes excepté les static?
Constructor Summary | |
---|---|
DMatrix(DMatrix that)
. |
|
DMatrix(double[][] data,
int r,
int c)
. |
|
DMatrix(int r,
int c)
. |
Method Summary | |
---|---|
static void |
CholeskyDecompose(double[][] M,
double[][] L)
. |
static DoubleMatrix2D |
CholeskyDecompose(DoubleMatrix2D M)
[tabb54] Mthe input matrix the Cholesky lower triangular matrix |
static void |
copy(double[][] M,
double[][] R)
. |
static double[][] |
exp(double[][] A)
. |
static DoubleMatrix2D |
exp(DoubleMatrix2D A)
. |
static DoubleMatrix2D |
expBidiagonal(DoubleMatrix2D A)
. |
static DoubleMatrix1D |
expBidiagonal(DoubleMatrix2D A,
DoubleMatrix1D b)
. |
static DoubleMatrix2D |
expmiBidiagonal(DoubleMatrix2D A)
. |
static DoubleMatrix1D |
expmiBidiagonal(DoubleMatrix2D A,
DoubleMatrix1D b)
. |
double |
get(int row,
int column)
. |
int |
numColumns()
. |
int |
numRows()
. |
static void |
PCADecompose(double[][] M,
double[][] A,
double[] lambda)
. |
static DoubleMatrix2D |
PCADecompose(DoubleMatrix2D M,
double[] lambda)
. |
void |
set(int row,
int column,
double value)
. |
static double[] |
solveLU(double[][] A,
double[] b)
. |
static void |
solveTriangular(DoubleMatrix2D U,
DoubleMatrix2D B,
DoubleMatrix2D X)
. |
String |
toString()
. |
static String |
toString(double[][] M)
. |
DMatrix |
transpose()
. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DMatrix(int r, int c)
public DMatrix(double[][] data, int r, int c)
public DMatrix(DMatrix that)
Method Detail |
---|
public static void CholeskyDecompose(double[][] M, double[][] L)
public static DoubleMatrix2D CholeskyDecompose(DoubleMatrix2D M)
public static void PCADecompose(double[][] M, double[][] A, double[] lambda)
public static DoubleMatrix2D PCADecompose(DoubleMatrix2D M, double[] lambda)
public static double[] solveLU(double[][] A, double[] b)
public static void solveTriangular(DoubleMatrix2D U, DoubleMatrix2D B, DoubleMatrix2D X)
public static double[][] exp(double[][] A)
public static DoubleMatrix2D exp(DoubleMatrix2D A)
public static DoubleMatrix2D expBidiagonal(DoubleMatrix2D A)
public static DoubleMatrix1D expBidiagonal(DoubleMatrix2D A, DoubleMatrix1D b)
public static DoubleMatrix2D expmiBidiagonal(DoubleMatrix2D A)
public static DoubleMatrix1D expmiBidiagonal(DoubleMatrix2D A, DoubleMatrix1D b)
public static void copy(double[][] M, double[][] R)
public static String toString(double[][] M)
public String toString()
toString
in class Object
public int numRows()
public int numColumns()
public double get(int row, int column)
public void set(int row, int column, double value)
public DMatrix transpose()
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |