Interface ExpressionDataPrimitiveDoubleMatrix
- All Superinterfaces:
ExpressionDataMatrix<Double>
- All Known Subinterfaces:
BulkExpressionDataPrimitiveDoubleMatrix
- All Known Implementing Classes:
BulkExpressionDataDoubleMatrix, ExpressionDataDoubleMatrix, SingleCellExpressionDataDoubleMatrix
Interface for matrices that can provide unboxed doubles.
Use the methods in this interface to avoid the overhead of boxing and unboxing Double.
- Author:
- poirigui
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetAsDouble(int row, int column) Retrieve the value at the given row and column without boxing.double[]getColumnAsDoubles(int column) Retrieve the given column without boxing.double[]getRowAsDoubles(int index) Retrieve a row without boxing.double[]getRowAsDoubles(CompositeSequence designElement) Retrieve the row for the given design element without boxing.Methods inherited from interface ExpressionDataMatrix
columns, get, getColumn, getDesignElementForRow, getDesignElements, getExpressionExperiment, getQuantitationType, getRow, getRow, getRowElement, getRowElements, getRowIndex, getRowIndices, rows, sliceRows
-
Method Details
-
getAsDouble
double getAsDouble(int row, int column) Retrieve the value at the given row and column without boxing.- See Also:
-
getRowAsDoubles
double[] getRowAsDoubles(int index) Retrieve a row without boxing.- See Also:
-
getRowAsDoubles
Retrieve the row for the given design element without boxing.- See Also:
-
getColumnAsDoubles
double[] getColumnAsDoubles(int column) Retrieve the given column without boxing.- See Also:
-