Class SimpleMutableMatrix
- java.lang.Object
-
- com.macrofocus.molap.dataframe.AbstractDataFrame<R,C,java.lang.Number>
-
- com.macrofocus.molap.dataframe.matrix.AbstractMatrix<java.lang.Integer,java.lang.Integer>
-
- com.macrofocus.molap.dataframe.matrix.SimpleMutableMatrix
-
- All Implemented Interfaces:
DataFrame<java.lang.Integer,java.lang.Integer,java.lang.Number>
,Matrix<java.lang.Integer,java.lang.Integer>
,MutableMatrix<java.lang.Integer,java.lang.Integer>
public class SimpleMutableMatrix extends AbstractMatrix<java.lang.Integer,java.lang.Integer> implements MutableMatrix<java.lang.Integer,java.lang.Integer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
AbstractDataFrame.ColumnSeries
-
-
Constructor Summary
Constructors Constructor Description SimpleMutableMatrix(int rowCount, int columnCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UniqueIndex<java.lang.Integer>
getColumnIndex()
Gets the index used to access the columns.double
getDouble(java.lang.Integer row, java.lang.Integer column)
UniqueIndex<java.lang.Integer>
getRowIndex()
Gets the index used to access the rows.void
setDouble(java.lang.Integer row, java.lang.Integer column, double value)
-
Methods inherited from class com.macrofocus.molap.dataframe.matrix.AbstractMatrix
getColumnClass, getColumnVector, getRow, getRowClass, getRowVector, getValueAt, isAvailable, join
-
Methods inherited from class com.macrofocus.molap.dataframe.AbstractDataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnCount, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getCube, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRowAddress, getRowCount, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, notifyDataFrameChanged, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.dataframe.DataFrame
addDataFrameListener, addWeakDataFrameListener, aggregate, aggregate, append, appendAndReindex, benchmark, columns, filter, getCentroid, getColumn, getColumnAddress, getColumnClass, getColumnCount, getColumnKey, getColumnName, getConstant, getCount, getCountDistinct, getCountDistinctWithNull, getDataFrameAggregation, getDistributiveStatistics, getFirst, getFirstQuartile, getMax, getMean, getMedian, getMin, getRandom, getRow, getRowAddress, getRowClass, getRowCount, getRowKey, getStatistics, getStdDev, getSum, getThirdQuartile, getUnivariateStatistics, getValueAt, getVariance, getVarianceByPopulation, getWeightedMean, getWeightedSum, join, orderRows, print, print, printSchema, reindexColumns, reindexRows, reindexRows, reindexRows, reindexRows, reindexRows, remapColumns, removeColumns, removeDataFrameListener, removeDataFrameListeners, removeDuplicates, rows
-
Methods inherited from interface com.macrofocus.molap.dataframe.matrix.Matrix
getColumnVector, getRowVector, isAvailable, scalarDivide, scalarMult, scalarPlus
-
-
-
-
Method Detail
-
getDouble
public double getDouble(java.lang.Integer row, java.lang.Integer column)
-
setDouble
public void setDouble(java.lang.Integer row, java.lang.Integer column, double value)
- Specified by:
setDouble
in interfaceMutableMatrix<java.lang.Integer,java.lang.Integer>
-
getRowIndex
public UniqueIndex<java.lang.Integer> getRowIndex()
Description copied from interface:DataFrame
Gets the index used to access the rows.- Specified by:
getRowIndex
in interfaceDataFrame<java.lang.Integer,java.lang.Integer,java.lang.Number>
- Returns:
- the row index
-
getColumnIndex
public UniqueIndex<java.lang.Integer> getColumnIndex()
Description copied from interface:DataFrame
Gets the index used to access the columns.- Specified by:
getColumnIndex
in interfaceDataFrame<java.lang.Integer,java.lang.Integer,java.lang.Number>
- Returns:
- the column index
-
-