public class Matrix
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LOWER_AND_UPPER_TRIANGULAR
Lower+Upper Triangular Matrix
|
static int |
LOWER_TRIANGULAR
Lower Triangular Matrix
|
static int |
NON_TRIANGULAR
Non Triangular Matrix
|
static int |
UPPER_TRIANGULAR
Upper Triangular Matrix
|
Constructor and Description |
---|
Matrix() |
Modifier and Type | Method and Description |
---|---|
static double[][] |
CholeskyBanachiewiczFactorization(double[][] aadblA)
Compute the Cholesky-Banachiewicz Factorization of the specified Matrix.
|
static boolean |
DiagonalizeRow(int iQ,
double[][] aadblZ2XJack,
double[][] aadblZ2YJack)
Diagonalize the specified row in the source matrix, and apply comparable operations to the target
|
static double |
DotProduct(double[] adblA,
double[] adblE)
Dot Product of Vectors A and E
|
static double[][] |
GrahamSchmidtOrthogonalization(double[][] aadblV)
Orthogonalize the Specified Matrix Using the Graham-Schmidt Method
|
static double[][] |
GrahamSchmidtOrthonormalization(double[][] aadblV)
Orthonormalize the Specified Matrix Using the Graham-Schmidt Method
|
static double[][] |
Invert(double[][] aadblA,
java.lang.String strMethod)
Invert the input matrix using the specified Method
|
static double[][] |
Invert2DMatrixUsingCramerRule(double[][] aadblA)
Invert a 2D Matrix using Cramer's Rule
|
static double[][] |
InvertUsingGaussianElimination(double[][] aadblSource)
Invert the Source Matrix using Gaussian Elimination
|
static double[][] |
MakeSquareDiagonal(double[] adblA)
Make a Square Diagonal Matrix from a Row
|
static double |
Modulus(double[] adbl)
Compute the Modulus of the Input Vector
|
static boolean |
NegativeOrZero(double[] adbl)
Indicate if the Array Entries are Negative or Zero
|
static double[] |
Normalize(double[] adbl)
Normalize the Input Vector
|
static MatrixComplementTransform |
PivotDiagonal(double[][] aadblA)
Pivot the Diagonal of the Input Matrix
|
static boolean |
PositiveLinearlyIndependent(double[] adbl)
Indicate if the Array Entries are Positive Linearly Independent
|
static boolean |
PositiveOrZero(double[] adbl)
Indicate if the Array Entries are Positive or Zero
|
static double[] |
Product(double[][] aadblA,
double[] adblB)
Compute the Product of an Input Matrix and a Column
|
static double[][] |
Product(double[][] aadblA,
double[][] aadblB)
Compute the Product of the input matrices
|
static double[][] |
Product(double[] adblA,
double[][] aadblB)
Compute the Product of an input column and a matrix
|
static double[] |
Project(double[] adblA,
double[] adblE)
Project the Vector A along the Vector E
|
static QR |
QRDecomposition(double[][] aadblA)
Perform a QR Decomposition on the Input Matrix
|
static int |
Rank(double[][] aadblSource)
Compute the Rank of the Matrix
|
static boolean |
RegularizeUsingRowAddition(MatrixComplementTransform mct)
Regularize the specified diagonal entry of the input matrix using Row Addition
|
static boolean |
RegularizeUsingRowSwap(MatrixComplementTransform mct)
Regularize the specified diagonal entry of the input matrix using Row Swapping
|
static double[][] |
Transpose(double[][] aadblA)
Transpose the specified Square Matrix
|
static int |
TriangularType(double[][] aadblA,
double dblFloor)
Retrieve the Triangular Type of the Matrix
|
public static int LOWER_TRIANGULAR
public static int UPPER_TRIANGULAR
public static int LOWER_AND_UPPER_TRIANGULAR
public static int NON_TRIANGULAR
public static final boolean DiagonalizeRow(int iQ, double[][] aadblZ2XJack, double[][] aadblZ2YJack)
iQ
- Row in the Source MatrixaadblZ2XJack
- Source MatrixaadblZ2YJack
- Target Matrixpublic static final double[] Product(double[][] aadblA, double[] adblB)
aadblA
- Matrix AadblB
- Array Bpublic static final double[][] Product(double[] adblA, double[][] aadblB)
adblA
- Column AaadblB
- Matrix Bpublic static final double[][] Product(double[][] aadblA, double[][] aadblB)
aadblA
- Matrix AaadblB
- Matrix Bpublic static final double[][] MakeSquareDiagonal(double[] adblA)
adblA
- The Row Arraypublic static final double[][] Invert2DMatrixUsingCramerRule(double[][] aadblA)
aadblA
- Input 2D Matrixpublic static final boolean RegularizeUsingRowSwap(MatrixComplementTransform mct)
mct
- The Input Matrix Complement Transformpublic static final boolean RegularizeUsingRowAddition(MatrixComplementTransform mct)
mct
- The Input Matrix Complement Transformpublic static final MatrixComplementTransform PivotDiagonal(double[][] aadblA)
aadblA
- The Input Matrixpublic static final double[][] InvertUsingGaussianElimination(double[][] aadblSource)
aadblSource
- Source Matrixpublic static final double[][] Invert(double[][] aadblA, java.lang.String strMethod)
aadblA
- Input MatrixstrMethod
- The Inversion Methodpublic static final int Rank(double[][] aadblSource) throws java.lang.Exception
aadblSource
- Source Matrixjava.lang.Exception
- Thrown if the Rank Cannot be computedpublic static final double[][] Transpose(double[][] aadblA)
aadblA
- The Input Square Matrixpublic static final double[][] CholeskyBanachiewiczFactorization(double[][] aadblA)
aadblA
- The Input Matrixpublic static final double DotProduct(double[] adblA, double[] adblE) throws java.lang.Exception
adblA
- Vector AadblE
- Vector Ejava.lang.Exception
- Thrown if the Dot-Product cannot be computedpublic static final double[] Project(double[] adblA, double[] adblE)
adblA
- Vector AadblE
- Vector Epublic static final double Modulus(double[] adbl) throws java.lang.Exception
adbl
- The Input Vectorjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final boolean PositiveOrZero(double[] adbl) throws java.lang.Exception
adbl
- The Arrayjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final boolean NegativeOrZero(double[] adbl) throws java.lang.Exception
adbl
- The Arrayjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final boolean PositiveLinearlyIndependent(double[] adbl) throws java.lang.Exception
adbl
- The Arrayjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final double[] Normalize(double[] adbl)
adbl
- The Input Vectorpublic static final double[][] GrahamSchmidtOrthogonalization(double[][] aadblV)
aadblV
- The Input Matrixpublic static final double[][] GrahamSchmidtOrthonormalization(double[][] aadblV)
aadblV
- The Input Matrixpublic static final QR QRDecomposition(double[][] aadblA)
aadblA
- The Input Matrixpublic static final int TriangularType(double[][] aadblA, double dblFloor)
aadblA
- The Input MatrixdblFloor
- The Floor Level that means "Zero"