public class JacobiFloat extends Object
Constructor and Description |
---|
JacobiFloat(float[][] matrix) |
JacobiFloat(float[][] matrix,
int maxSweeps) |
Modifier and Type | Method and Description |
---|---|
static float[] |
getColumn(float[][] matrix,
int i) |
float[][] |
getEigenMatrix() |
float[] |
getEigenValues()
returns the eigenvalues corresponding to
the eigenvectors
|
float[][] |
getEigenVectors()
returns the eigenvectors as an array,
such that result[0] is the first vector
|
int |
getNumberOfRotations()
returns the number of rotations needed to
converge
|
static void |
main(String[] args) |
static float[][] |
matMult(float[][] m1,
float[][] m2) |
static String |
toString(float[] floatArray) |
static String |
toString(float[][] float2Array) |
static float[][] |
transpose(float[][] m) |
static float[] |
vecMult(float[][] m,
float[] v) |
public JacobiFloat(float[][] matrix)
public JacobiFloat(float[][] matrix, int maxSweeps)
public float[][] getEigenVectors()
public float[][] getEigenMatrix()
public float[] getEigenValues()
public int getNumberOfRotations()
public static String toString(float[] floatArray)
public static String toString(float[][] float2Array)
public static float[] getColumn(float[][] matrix, int i)
public static float[][] matMult(float[][] m1, float[][] m2)
public static float[] vecMult(float[][] m, float[] v)
public static float[][] transpose(float[][] m)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.