public final class Matrix
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
double[][] |
a |
(package private) int |
n |
(package private) int |
n1 |
(package private) int |
n2 |
(package private) int[] |
perm |
(package private) int |
sign |
(package private) double[] |
ws |
Modifier and Type | Method and Description |
---|---|
void |
add(double d) |
void |
add(Matrix m) |
static Matrix[] |
average(Matrix[] ma,
Matrix[] mb,
double f) |
static Matrix |
average(Matrix ma,
Matrix mb,
double f) |
Matrix |
copy() |
double[][] |
copyMat() |
Matrix |
crudeExpOf(double t) |
double |
det() |
int |
dim() |
double[] |
ev1vec(int np) |
Matrix |
expOf(double t) |
double[] |
flatten() |
double[] |
getColumn(int ic) |
void |
identise() |
Matrix |
identity() |
Matrix |
inverse() |
void |
invert() |
void |
LU() |
double[] |
lubksb(double[] b) |
static double[] |
LUSolve(double[][] m,
double[] R) |
double[] |
lvprod(double[] v) |
double |
maxAbsElt() |
void |
mpyBy(double d) |
void |
mpyBy(Matrix m) |
void |
multiplyInto(double[] v) |
Matrix |
power(int p) |
void |
print() |
Matrix |
prod(Matrix m) |
Matrix |
random() |
int |
randomIndexFromColumn(int c) |
int |
randomIndexFromColumn(int c,
double rin) |
int |
randomIndexFromOffsetColumn(int c,
int off) |
void |
randomise() |
void |
rect2rvprod(double[] v,
double[] r1,
double[] r2) |
void |
round() |
void |
round(double d) |
double[] |
rvprod(double[] v) |
double |
rvprodOneElt(double[] v,
int elt) |
void |
setDims(int d1,
int d2) |
void |
Sp(java.lang.String s) |
Matrix |
sum(Matrix m) |
Matrix |
transpose() |
void |
zero() |
public double[][] a
double[] ws
int n
int[] perm
int sign
int n1
int n2
public double[] flatten()
public void Sp(java.lang.String s)
public final int dim()
public Matrix copy()
public void setDims(int d1, int d2)
public void identise()
public void randomise()
public void zero()
public Matrix identity()
public Matrix random()
public void add(double d)
public void add(Matrix m)
public void mpyBy(double d)
public void mpyBy(Matrix m)
public double[] lvprod(double[] v)
public double[] rvprod(double[] v)
public void multiplyInto(double[] v)
public void rect2rvprod(double[] v, double[] r1, double[] r2)
public double rvprodOneElt(double[] v, int elt)
public Matrix transpose()
public double det()
public double[][] copyMat()
public void LU()
public Matrix inverse()
public static double[] LUSolve(double[][] m, double[] R)
public void invert()
public double[] lubksb(double[] b)
public void round(double d)
public void round()
public void print()
public double maxAbsElt()
public Matrix power(int p)
public Matrix crudeExpOf(double t)
public Matrix expOf(double t)
public int randomIndexFromColumn(int c)
public final int randomIndexFromColumn(int c, double rin)
public final double[] getColumn(int ic)
public int randomIndexFromOffsetColumn(int c, int off)
public double[] ev1vec(int np)
Copyright © 2013. All Rights Reserved.