Modifier and Type | Field and Description |
---|---|
int |
columnNum |
int |
rowNum |
double[][] |
val |
Constructor and Description |
---|
IMatrix(IMatrix m) |
IMatrix(int rownum,
int columnnum) |
Modifier and Type | Method and Description |
---|---|
IMatrix |
add(IMatrix m) |
IMatrix |
add(IMatrixI m) |
int |
columnNum() |
int |
columnNum(ISwitchE e) |
IInteger |
columnNum(ISwitchR r) |
IMatrix |
cp()
alias of dup()
|
static double |
det(double v11,
double v12,
double v21,
double v22) |
double |
determinant() |
double |
determinant(ISwitchE e) |
IDouble |
determinant(ISwitchR r) |
IMatrix |
div(double v) |
IMatrix |
div(IDoubleI v) |
IMatrix |
dup() |
IMatrix |
get() |
double |
get(int row,
int column) |
double |
get(ISwitchE e,
int row,
int column) |
IDouble |
get(ISwitchR r,
IIntegerI row,
IIntegerI column) |
IMatrix |
id() |
IMatrix |
invert() |
IMatrix |
mul(double v) |
IMatrix |
mul(IDoubleI v) |
IMatrix |
mul(IMatrix m)
currently mul returns new instance different from this with different row x column num.
|
IMatrix |
mul(IMatrixI m) |
int |
rowNum() |
int |
rowNum(ISwitchE e) |
IInteger |
rowNum(ISwitchR r) |
IMatrix |
set(double[][] v) |
IMatrix |
set(IDoubleI[][] v) |
IMatrix |
set(IIntegerI row,
IIntegerI column,
IDoubleI v) |
IMatrix |
set(IMatrix m) |
IMatrix |
set(IMatrixI m) |
IMatrix |
set(int row,
int column,
double v) |
IMatrix |
setId() |
IMatrix |
setRange(IMatrix m,
int rowStart,
int rowLen,
int columnStart,
int columnLen) |
IMatrix |
setZero() |
IMatrix |
sub(IMatrix m) |
IMatrix |
sub(IMatrixI m) |
double[] |
toArray() |
double[] |
toArray(boolean perRow) |
java.lang.String |
toString() |
IMatrix |
zero() |
public IMatrix(int rownum, int columnnum)
public IMatrix(IMatrix m)
public IMatrix get()
get
in interface IMatrixOp
get
in interface IParameter
public IMatrix zero()
public IMatrix id()
public IMatrix setRange(IMatrix m, int rowStart, int rowLen, int columnStart, int columnLen)
public IMatrix mul(IMatrix m)
public static double det(double v11, double v12, double v21, double v22)
public double determinant()
determinant
in interface IMatrixI
public double determinant(ISwitchE e)
determinant
in interface IMatrixI
public IDouble determinant(ISwitchR r)
determinant
in interface IMatrixI
public java.lang.String toString()
toString
in class java.lang.Object
public double[] toArray(boolean perRow)
public double[] toArray()