|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.structures.matrix.VectorMatrixX
public class VectorMatrixX
Vector Matrix 3d implementation Vectors use Vector 3d for storage.
Field Summary | |
---|---|
protected java.lang.Number[][][][] |
mat
Vector Matrix 3d access This is not good encapsulation and will be deprectated in future iterations! Please use getters and setters when accessing matrix3d. |
Constructor Summary | |
---|---|
VectorMatrixX(int d1,
int d2,
int d3,
int d4)
Instantiates a new vector matrix x. |
|
VectorMatrixX(int d1,
int d2,
int d3,
VectorX a)
Instantiates a new vector matrix x. |
|
VectorMatrixX(java.lang.Number[][][][] m)
Instantiates a new vector matrix x. |
|
VectorMatrixX(VectorX[][][] m)
Instantiates a new vector matrix x. |
Method Summary | |
---|---|
VectorMatrixX |
add(double a)
Adds the. |
VectorMatrixX |
add(VectorMatrixX m)
Adds the. |
VectorMatrixX |
clone()
|
VectorMatrixX |
div(double a)
Div. |
VectorMatrixX |
div(VectorMatrixX m)
Div. |
VectorX |
get(int i,
int j,
int k)
Gets the. |
java.lang.Number |
get(int i,
int j,
int k,
int l)
Gets the. |
int |
getCols()
Gets the cols. |
int |
getComponents()
Gets the components. |
int |
getRows()
Gets the rows. |
int |
getSlices()
Gets the slices. |
ImageData |
mag()
Mag. |
VectorMatrixX |
mul(double a)
Mul. |
VectorMatrixX |
mul(VectorMatrixX m)
Mul. |
VectorMatrixX |
normalize()
Normalize. |
void |
set(int i,
int j,
int k,
int l,
java.lang.Number val)
Sets the. |
void |
set(int i,
int j,
int k,
VectorX a)
Sets the. |
VectorMatrixX |
sub(double a)
Sub. |
VectorMatrixX |
sub(VectorMatrixX m)
Sub. |
double |
talley()
Debugging routine for printing non-zero vector matrix elements. |
java.lang.Number[][][][] |
toArray4d()
To array4d. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Number[][][][] mat
Constructor Detail |
---|
public VectorMatrixX(int d1, int d2, int d3, VectorX a)
d1
- the d1d2
- the d2d3
- the d3a
- the apublic VectorMatrixX(int d1, int d2, int d3, int d4)
d1
- the d1d2
- the d2d3
- the d3d4
- the d4public VectorMatrixX(java.lang.Number[][][][] m)
m
- the mpublic VectorMatrixX(VectorX[][][] m)
m
- the mMethod Detail |
---|
public int getRows()
public int getCols()
public int getSlices()
public java.lang.Number[][][][] toArray4d()
public void set(int i, int j, int k, VectorX a)
i
- the ij
- the jk
- the ka
- the apublic void set(int i, int j, int k, int l, java.lang.Number val)
i
- the ij
- the jk
- the kl
- the lval
- the valpublic java.lang.Number get(int i, int j, int k, int l)
i
- the ij
- the jk
- the kl
- the l
public VectorX get(int i, int j, int k)
i
- the ij
- the jk
- the k
public VectorMatrixX add(double a)
a
- the a
public VectorMatrixX sub(double a)
a
- the a
public VectorMatrixX mul(double a)
a
- the a
public VectorMatrixX div(double a)
a
- the a
public VectorMatrixX add(VectorMatrixX m)
m
- the m
public VectorMatrixX sub(VectorMatrixX m)
m
- the m
public VectorMatrixX mul(VectorMatrixX m)
m
- the m
public VectorMatrixX clone()
clone
in class java.lang.Object
public VectorMatrixX div(VectorMatrixX m)
m
- the m
public VectorMatrixX normalize()
public ImageData mag()
public java.lang.String toString()
toString
in class java.lang.Object
public double talley()
public int getComponents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |