|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.multicorebsp.util.MMobject
public class MMobject
Models various matrix-market object types
Nested Class Summary | |
---|---|
static class |
MMobject.FieldType
All the supported data field types. |
static class |
MMobject.FormatType
All the supported input format types. |
static class |
MMobject.ObjectType
All the supported object types. |
static class |
MMobject.SymmetryType
All the supported symmetry types. |
static class |
MMobject.ViewType
All the supported view types. |
Constructor Summary | |
---|---|
MMobject()
|
Method Summary | |
---|---|
MMobject.FieldType |
getField()
|
MMobject.FormatType |
getFormat()
|
int |
getM()
|
Matrix<?> |
getMatrix()
Returns the matrix object itself. |
int |
getN()
|
java.lang.String |
getName()
|
int |
getNnz()
|
MMobject.SymmetryType |
getSymmetry()
|
TS<?> |
getTS()
Call only if you are sure this is a sparse matrix and not a vector collection. |
MMobject.ObjectType |
getType()
|
VectorCollection<?> |
getVectorCollection()
Call only if you are sure this is a vector collection, and not a general sparse matrix or a dense vector. |
MMobject.ViewType |
getView()
|
void |
toLocalView(int[][] r,
int[][] c)
Transforms the current matrix to a local view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMobject()
Method Detail |
---|
public int getM()
public int getN()
public int getNnz()
public java.lang.String getName()
public MMobject.ObjectType getType()
public MMobject.FormatType getFormat()
public MMobject.FieldType getField()
public MMobject.SymmetryType getSymmetry()
public MMobject.ViewType getView()
public Matrix<?> getMatrix()
public TS<?> getTS()
public VectorCollection<?> getVectorCollection()
public void toLocalView(int[][] r, int[][] c)
r
- The row-wise translation vector collection.c
- The column-wise translation vector collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |