public class FastMatrixN extends Object
Constructor and Description |
---|
FastMatrixN() |
Modifier and Type | Method and Description |
---|---|
static double[] |
apply(double[][] A,
double[] x)
Calculates b in Ax = b
|
static double[][] |
clone(double[][] matrix) |
static void |
invert(double[][] matrix) |
static void |
invert(double[][] matrix,
boolean showStatus) |
static void |
main(String[] args) |
static void |
print(double[] v) |
static void |
print(double[][] m) |
static void |
print(double[][] m,
PrintStream out) |
static void |
print(double[][] m,
PrintStream out,
char del) |
static float |
round(double d,
int scale,
RoundingMode mode) |
static double[] |
solve_cholesky(double[][] A,
double[] b)
Solve Ax = b.
|
static double[] |
solve_UL(double[][] A,
double[] b) |
static double[] |
times(double[][] m,
double[] v) |
static double[][] |
times(double[][] m1,
double[][] m2) |
static double[][] |
transpose(double[][] m) |
public static void invert(double[][] matrix)
public static void invert(double[][] matrix, boolean showStatus)
public static double[][] clone(double[][] matrix)
public static double[][] times(double[][] m1, double[][] m2)
public static double[] times(double[][] m, double[] v)
public static double[][] transpose(double[][] m)
public static double[] solve_UL(double[][] A, double[] b)
public static double[] solve_cholesky(double[][] A, double[] b)
A
- matrix to be appliedb
- resultpublic static double[] apply(double[][] A, double[] x)
A
- matrix to applyx
- vectorpublic static void print(double[] v)
public static void print(double[][] m)
public static void print(double[][] m, PrintStream out, char del)
public static float round(double d, int scale, RoundingMode mode)
public static void print(double[][] m, PrintStream out)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.