public class MatrixOps
extends java.lang.Object
Constructor and Description |
---|
MatrixOps() |
Modifier and Type | Method and Description |
---|---|
static boolean |
applyMask(Complex[] ary,
double[] windowFunction) |
static boolean |
applyMask(double[] ary,
double[] windowFunction) |
static boolean |
checkRectangular(Complex[][] a)
Check the array is rectangular, => all sub arrays are same length.
|
static boolean |
checkRectangular(double[][] a) |
static Complex[][] |
complexMatrixCross(Complex[][] a,
Complex[][] b) |
static java.awt.image.BufferedImage |
createImage(double[][] surfaceData,
ColourArray colorArray,
boolean logScale,
double intensityScaleFactor) |
static Complex |
det33Matrix(Complex[][] A) |
static Complex |
detNnMatrix(Complex[][] A) |
static double[][] |
getAbsMatrix(double[][] matrix)
Make a new matrix with abs values of the original.
|
static double[][] |
getRealMatrix(Complex[][] a) |
static Complex[][] |
inverse33Matrix(Complex[][] A) |
static Complex[][] |
inverseNnMatrix(Complex[][] A) |
static void |
printMatrix(Complex[][] a)
debug tool
print a complex matrix (with no null entries) to std out |
static Complex |
recipComp(Complex z) |
static Complex[][] |
scalarMultMatrix(Complex[][] a,
Complex scalar) |
static Complex[][] |
transposeMatrix(Complex[][] a) |
public static boolean checkRectangular(Complex[][] a)
a
- A 2D Complex Arraytrue if 0-length or is rectangular
public static void printMatrix(Complex[][] a)
a
- public static double[][] getRealMatrix(Complex[][] a)
a
- Complex 2D arraypublic static Complex det33Matrix(Complex[][] A)
3x3
- matrixpublic static double[][] getAbsMatrix(double[][] matrix)
matrix
- public static java.awt.image.BufferedImage createImage(double[][] surfaceData, ColourArray colorArray, boolean logScale, double intensityScaleFactor)
public static boolean checkRectangular(double[][] a)
public static boolean applyMask(Complex[] ary, double[] windowFunction)
public static boolean applyMask(double[] ary, double[] windowFunction)