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