|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
org.ujmp.core.matrix.AbstractMatrix
org.ujmp.core.genericmatrix.stub.AbstractGenericMatrix<A>
org.ujmp.core.genericmatrix.stub.AbstractDenseGenericMatrix<A>
org.ujmp.core.genericmatrix.stub.AbstractDenseGenericMatrix2D<A>
org.ujmp.core.listmatrix.AbstractListMatrix<A>
public abstract class AbstractListMatrix<A>
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ujmp.core.Matrix |
---|
Matrix.StorageType |
Field Summary |
---|
Fields inherited from class org.ujmp.core.genericmatrix.stub.AbstractGenericMatrix |
---|
factory |
Fields inherited from interface org.ujmp.core.Matrix |
---|
ALL, chol, COLUMN, divideMatrix, divideScalar, eig, factory, inv, LINK, lu, minusMatrix, minusScalar, mtimes, NEW, NONE, ORIG, plusMatrix, plusScalar, qr, ROW, solve, svd, timesMatrix, timesScalar, transpose, X, Y, Z |
Fields inherited from interface org.ujmp.core.matrix.DenseMatrix2D |
---|
factory |
Constructor Summary | |
---|---|
AbstractListMatrix()
|
Method Summary | ||
---|---|---|
boolean |
add(A e)
|
|
void |
add(int index,
A element)
|
|
boolean |
addAll(Collection<? extends A> c)
|
|
boolean |
addAll(int index,
Collection<? extends A> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
A |
get(int index)
|
|
double |
getAsDouble(long... coordinates)
Returns a double representation of an entry in the matrix. |
|
abstract List<A> |
getList()
|
|
A |
getObject(int row,
int column)
|
|
A |
getObject(long row,
long column)
|
|
long[] |
getSize()
|
|
Matrix.StorageType |
getStorageType()
|
|
ValueType |
getValueType()
|
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<A> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<A> |
listIterator()
|
|
ListIterator<A> |
listIterator(int index)
|
|
A |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
A |
set(int index,
A element)
|
|
void |
setAsDouble(double value,
long... coordinates)
Sets an entry in the matrix to a double value. |
|
void |
setObject(A value,
int row,
int column)
|
|
void |
setObject(A value,
long row,
long column)
|
|
int |
size()
|
|
List<A> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
Methods inherited from class org.ujmp.core.genericmatrix.stub.AbstractDenseGenericMatrix2D |
---|
allCoordinates, getFactory, getObject, setObject |
Methods inherited from class org.ujmp.core.genericmatrix.stub.AbstractDenseGenericMatrix |
---|
contains |
Methods inherited from class org.ujmp.core.genericmatrix.stub.AbstractGenericMatrix |
---|
getAsObject, setAsObject |
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ujmp.core.genericmatrix.GenericMatrix |
---|
getObject, setObject |
Methods inherited from interface org.ujmp.core.matrix.Matrix2D |
---|
getFactory |
Methods inherited from interface org.ujmp.core.Matrix |
---|
clone |
Methods inherited from interface org.ujmp.core.interfaces.CoreObject |
---|
getCoreObjectId |
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject |
---|
getGUIObject, notifyGUIObject, showGUI |
Methods inherited from interface org.ujmp.core.interfaces.HasLabel |
---|
getLabel, setLabel |
Methods inherited from interface org.ujmp.core.io.ExportMatrixInterface |
---|
exportToClipboard, exportToFile, exportToFile, exportToFile, exportToFile, exportToStream, exportToString, exportToWriter |
Methods inherited from interface org.ujmp.core.interfaces.CoordinateFunctions |
---|
allCoordinates, availableCoordinates, contains, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinates |
Methods inherited from interface org.ujmp.core.interfaces.GettersAndSetters |
---|
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsChar, getAsDate, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsObject, getAsShort, getAsString, getPreferredObject, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsChar, setAsDate, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsObject, setAsShort, setAsString, toBigDecimalArray, toBigIntegerArray, toBooleanArray, toByteArray, toCharArray, toDateArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toObjectArray, toShortArray, toStringArray |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.basic.BasicDoubleCalculations |
---|
atimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, mtimes, mtimes, plus, plus, plus, plus, times, times, times, times |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations |
---|
abs, exp, log, log10, log2, power, power, sign, sqrt |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations |
---|
ceil, floor, round |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.hyperbolic.HyperbolicDoubleCalculations |
---|
cosh, sinh, tanh |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.trigonometric.TrigonometricDoubleCalculations |
---|
cos, sin, tan |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations |
---|
eye, ones, rand, randn, zeros |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.statistical.StatisticalDoubleCalculations |
---|
corrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, var |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.decomposition.DecompositionDoubleCalculations |
---|
chol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, princomp, qr, solve, solveSPD, solveSymm, svd |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.missingvalues.MissingValueDoubleCalculations |
---|
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.misc.MiscGeneralDoubleCalculations |
---|
append, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardize |
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.discretize.DiscretizeCalculations |
---|
discretizeToColumns |
Methods inherited from interface org.ujmp.core.booleanmatrix.calculation.BooleanCalculations |
---|
and, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xor |
Methods inherited from interface org.ujmp.core.intmatrix.calculation.IntCalculations |
---|
discretize |
Methods inherited from interface org.ujmp.core.stringmatrix.calculation.StringCalculations |
---|
lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, upperCase |
Methods inherited from interface org.ujmp.core.objectmatrix.calculation.ObjectCalculations |
---|
bootstrap, bootstrap, convert, copy, delete, delete, delete, deleteColumns, deleteColumns, deleteRows, deleteRows, extractAnnotation, fill, flipdim, includeAnnotation, replace, reshape, select, select, select, selectColumns, selectColumns, selectRows, selectRows, shuffle, sortrows, squeeze, subMatrix, swap, toColumnVector, toRowVector, transpose, transpose, transpose, tril, triu, unique, uniqueValueCount |
Methods inherited from interface org.ujmp.core.interfaces.DistanceMeasures |
---|
chebyshevDistanceTo, euklideanDistanceTo, manhattenDistanceTo, minkowskiDistanceTo |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.ujmp.core.annotation.HasAnnotation |
---|
getAnnotation, getAxisAnnotation, getAxisAnnotation, getColumnForLabel, getColumnLabel, getColumnObject, getMatrixAnnotation, getPositionForLabel, getRowForLabel, getRowLabel, getRowObject, setAnnotation, setAxisAnnotation, setAxisAnnotation, setColumnLabel, setColumnObject, setMatrixAnnotation, setRowLabel, setRowObject |
Methods inherited from interface org.ujmp.core.interfaces.Conversions |
---|
toBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDateMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrix |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Constructor Detail |
---|
public AbstractListMatrix()
Method Detail |
---|
public abstract List<A> getList()
public final long[] getSize()
getSize
in interface BasicMatrixProperties
public final void clear()
clear
in interface Collection<A>
clear
in interface List<A>
clear
in interface Clearable
clear
in class AbstractMatrix
public boolean add(A e)
add
in interface Collection<A>
add
in interface List<A>
public void add(int index, A element)
add
in interface List<A>
public boolean addAll(Collection<? extends A> c)
addAll
in interface Collection<A>
addAll
in interface List<A>
public boolean addAll(int index, Collection<? extends A> c)
addAll
in interface List<A>
public boolean contains(Object o)
contains
in interface Collection<A>
contains
in interface List<A>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<A>
containsAll
in interface List<A>
public A get(int index)
get
in interface List<A>
public int indexOf(Object o)
indexOf
in interface List<A>
public boolean isEmpty()
isEmpty
in interface Collection<A>
isEmpty
in interface List<A>
isEmpty
in interface BasicMatrixProperties
isEmpty
in class AbstractMatrix
public Iterator<A> iterator()
iterator
in interface Iterable<A>
iterator
in interface Collection<A>
iterator
in interface List<A>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<A>
public ListIterator<A> listIterator()
listIterator
in interface List<A>
public ListIterator<A> listIterator(int index)
listIterator
in interface List<A>
public boolean remove(Object o)
remove
in interface Collection<A>
remove
in interface List<A>
public A remove(int index)
remove
in interface List<A>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<A>
removeAll
in interface List<A>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<A>
retainAll
in interface List<A>
public A set(int index, A element)
set
in interface List<A>
public int size()
size
in interface Collection<A>
size
in interface List<A>
public List<A> subList(int fromIndex, int toIndex)
subList
in interface List<A>
public A getObject(long row, long column)
getObject
in interface GenericMatrix2D<A>
public A getObject(int row, int column)
getObject
in interface GenericMatrix2D<A>
public void setObject(A value, long row, long column)
setObject
in interface GenericMatrix2D<A>
public void setObject(A value, int row, int column)
setObject
in interface GenericMatrix2D<A>
public Object[] toArray()
toArray
in interface Collection<A>
toArray
in interface List<A>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<A>
toArray
in interface List<A>
public double getAsDouble(long... coordinates) throws MatrixException
GettersAndSetters
getAsDouble
in interface GettersAndSetters
getAsDouble
in class AbstractMatrix
coordinates
- location of the entry
MatrixException
public void setAsDouble(double value, long... coordinates) throws MatrixException
GettersAndSetters
setAsDouble
in interface GettersAndSetters
setAsDouble
in class AbstractMatrix
value
- double valuecoordinates
- location of the entry
MatrixException
public ValueType getValueType()
getValueType
in interface BasicMatrixProperties
getValueType
in class AbstractMatrix
public final Matrix.StorageType getStorageType()
getStorageType
in interface BasicMatrixProperties
getStorageType
in class AbstractDenseGenericMatrix<A>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |