Interface ExpressionDataPrimitiveDoubleMatrix
-
- All Superinterfaces:
ExpressionDataMatrix<Double>
- All Known Implementing Classes:
ExpressionDataDoubleMatrix
,SingleCellExpressionDataDoubleMatrix
public interface ExpressionDataPrimitiveDoubleMatrix extends ExpressionDataMatrix<Double>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAsDouble(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 ubic.gemma.core.datastructure.matrix.ExpressionDataMatrix
columns, get, getColumn, getDesignElementForRow, getDesignElements, getExpressionExperiment, getRow, getRow, getRowElement, getRowElement, getRowElements, getRowIndex, rows
-
-
-
-
Method Detail
-
getAsDouble
double getAsDouble(int row, int column)
Retrieve the value at the given row and column without boxing.- See Also:
ExpressionDataMatrix.get(int, int)
-
getRowAsDoubles
double[] getRowAsDoubles(int index)
Retrieve a row without boxing.- See Also:
ExpressionDataMatrix.getRow(int)
-
getRowAsDoubles
@Nullable double[] getRowAsDoubles(CompositeSequence designElement)
Retrieve the row for the given design element without boxing.
-
getColumnAsDoubles
double[] getColumnAsDoubles(int column)
Retrieve the given column without boxing.- See Also:
ExpressionDataMatrix.getColumn(int)
-
-