|
JMatIO 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmatio.types.MLArray
com.jmatio.types.MLNumericArray<java.lang.Double>
com.jmatio.types.MLSparse
public class MLSparse
| Field Summary |
|---|
| Fields inherited from class com.jmatio.types.MLArray |
|---|
attributes, dims, mtFLAG_COMPLEX, mtFLAG_GLOBAL, mtFLAG_LOGICAL, mtFLAG_TYPE, mxCELL_CLASS, mxCHAR_CLASS, mxDOUBLE_CLASS, mxFUNCTION_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxOBJECT_CLASS, mxOPAQUE_CLASS, mxSINGLE_CLASS, mxSPARSE_CLASS, mxSTRUCT_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, mxUINT8_CLASS, mxUNKNOWN_CLASS, name, type |
| Constructor Summary | |
|---|---|
MLSparse(java.lang.String name,
int[] dims,
int attributes,
int nzmax)
|
|
| Method Summary | |
|---|---|
java.lang.Double |
buldFromBytes(byte[] bytes)
|
java.lang.String |
contentToString()
|
java.lang.Double[] |
createArray(int m,
int n)
|
java.lang.Double[] |
exportImaginary()
Returns the imaginary part (PI) array. |
java.lang.Double[] |
exportReal()
Returns the real part (PR) array. |
byte[] |
getByteArray(java.lang.Double value)
|
int |
getBytesAllocated()
|
java.lang.Double |
getImaginary(int index)
|
java.lang.Double |
getImaginary(int m,
int n)
Gets single imaginary array element of A(m,n). |
int[] |
getIR()
Gets row indices ir points to an integer array of length nzmax containing the row indices of the corresponding elements in pr and pi. |
int[] |
getJC()
Gets column indices. |
int |
getMaxNZ()
Gets maximum number of non-zero values |
java.lang.Double |
getReal(int index)
|
java.lang.Double |
getReal(int m,
int n)
Gets single real array element of A(m,n). |
java.lang.Class<java.lang.Double> |
getStorageClazz()
|
void |
setImaginary(java.lang.Double value,
int index)
Sets single real array element. |
void |
setImaginary(java.lang.Double value,
int m,
int n)
Sets single imaginary array element. |
void |
setReal(java.lang.Double value,
int index)
Sets single real array element. |
void |
setReal(java.lang.Double value,
int m,
int n)
Sets single real array element. |
| Methods inherited from class com.jmatio.types.MLNumericArray |
|---|
_get, _set, dispose, equals, get, get, getImaginaryByteBuffer, getRealByteBuffer, putImaginaryByteBuffer, putRealByteBuffer, set, set, set, setReal |
| Methods inherited from class com.jmatio.types.MLArray |
|---|
getDimensions, getFlags, getIndex, getM, getN, getName, getNameToByteArray, getNDimensions, getSize, getType, isCell, isChar, isComplex, isDouble, isEmpty, isFunctionObject, isInt16, isInt32, isInt64, isInt8, isLogical, isObject, isOpaque, isSingle, isSparse, isStruct, isUint16, isUint32, isUint64, isUint8, isUnknown, toString, typeToString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MLSparse(java.lang.String name,
int[] dims,
int attributes,
int nzmax)
name - dims - attributes - nzmax - | Method Detail |
|---|
public int getMaxNZ()
public int[] getIR()
public int[] getJC()
public java.lang.Double[] createArray(int m,
int n)
public java.lang.Double getReal(int m,
int n)
MLNumericArray
getReal in class MLNumericArray<java.lang.Double>m - - row indexn - - column index
public java.lang.Double getReal(int index)
getReal in class MLNumericArray<java.lang.Double>
public void setReal(java.lang.Double value,
int m,
int n)
MLNumericArray
setReal in class MLNumericArray<java.lang.Double>value - m - n -
public void setReal(java.lang.Double value,
int index)
MLNumericArray
setReal in class MLNumericArray<java.lang.Double>value - index -
public void setImaginary(java.lang.Double value,
int m,
int n)
MLNumericArray
setImaginary in class MLNumericArray<java.lang.Double>value - m - n -
public void setImaginary(java.lang.Double value,
int index)
MLNumericArray
setImaginary in class MLNumericArray<java.lang.Double>value - index -
public java.lang.Double getImaginary(int m,
int n)
MLNumericArray
getImaginary in class MLNumericArray<java.lang.Double>m - - row indexn - - column index
public java.lang.Double getImaginary(int index)
getImaginary in class MLNumericArray<java.lang.Double>public java.lang.Double[] exportReal()
public java.lang.Double[] exportImaginary()
public java.lang.String contentToString()
contentToString in class MLNumericArray<java.lang.Double>public int getBytesAllocated()
public java.lang.Double buldFromBytes(byte[] bytes)
public byte[] getByteArray(java.lang.Double value)
public java.lang.Class<java.lang.Double> getStorageClazz()
|
JMatIO 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||