R
- Row label typeC
- Column label typeS
- Slice label typepublic abstract class DoubleMatrix3D<R,C,S> extends AbstractMatrix3D<R,C,S,Double>
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_ROWS_TO_PRINT |
protected static int |
MAX_SLICES_TO_PRINT |
colMap, colNames, rowMap, rowNames, sliceMap, sliceNames
Constructor and Description |
---|
DoubleMatrix3D() |
Modifier and Type | Method and Description |
---|---|
abstract double |
get(int slice,
int row,
int column) |
abstract Double[][] |
getColObj(int col) |
abstract double[][] |
getColumn(int column) |
double[][] |
getColumnByName(C col) |
abstract double[][] |
getRow(int row) |
double[][] |
getRowByName(R row) |
abstract Double[][] |
getRowObj(int row) |
abstract double[][] |
getSlice(int slice) |
double[][] |
getSliceByName(S slice) |
abstract Double[][] |
getSliceObj(int slice) |
abstract boolean |
isMissing(int slice,
int row,
int col)
Check if the value at a given index is missing.
|
abstract int |
rows()
Get the number of rows the matrix has
|
abstract void |
set(int x,
int y,
int z,
double value) |
abstract void |
setQuick(int slice,
int row,
int column,
double c) |
abstract int |
slices() |
String |
toString() |
abstract cern.colt.matrix.DoubleMatrix2D |
viewColumn(int column) |
abstract cern.colt.matrix.DoubleMatrix2D |
viewRow(int slice) |
abstract cern.colt.matrix.DoubleMatrix2D |
viewSlice(int slice) |
addColumnName, addRowName, addSliceName, columns, containsColumnName, containsRowName, containsSliceName, getColIndexByName, getColName, getColNameIterator, getColNames, getRowIndexByName, getRowName, getRowNameIterator, getRowNames, getSliceIndexByName, getSliceName, getSliceNameIterator, getSliceNames, hasColNames, hasRow, hasRowNames, hasSliceNames, numMissing, setColumnNames, setRowNames, setSliceNames
protected static final int MAX_ROWS_TO_PRINT
protected static final int MAX_SLICES_TO_PRINT
public abstract double get(int slice, int row, int column)
public abstract Double[][] getColObj(int col)
public abstract double[][] getColumn(int column)
public double[][] getColumnByName(C col)
s
- Stringpublic abstract double[][] getRow(int row)
public double[][] getRowByName(R row)
s
- Stringpublic abstract Double[][] getRowObj(int row)
public abstract double[][] getSlice(int slice)
public double[][] getSliceByName(S slice)
public abstract Double[][] getSliceObj(int slice)
public abstract boolean isMissing(int slice, int row, int col)
Matrix3D
public abstract int rows()
Matrix3D
public abstract void set(int x, int y, int z, double value)
public abstract void setQuick(int slice, int row, int column, double c)
j
- i
- c
- public abstract int slices()
public abstract cern.colt.matrix.DoubleMatrix2D viewColumn(int column)
public abstract cern.colt.matrix.DoubleMatrix2D viewRow(int slice)
j
- public abstract cern.colt.matrix.DoubleMatrix2D viewSlice(int slice)
Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.