public class DenseBlockLFP64 extends DenseBlockLDRB
DenseBlock.Type| Constructor and Description | 
|---|
| DenseBlockLFP64(int[] dims) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | capacity()Get the total length of allocated blocks. | 
| double | get(int[] ix)Get the value of a given cell | 
| double | get(int r,
   int c)Get the value for a given row and column. | 
| long | getLong(int[] ix)Get the value of a given cell as long | 
| String | getString(int[] ix)Get the value of a given cell as a String | 
| void | incr(int r,
    int c)Increments the given value for a given row and column. | 
| void | incr(int r,
    int c,
    double delta)Increments the given value for a given row and column
 by delta. | 
| boolean | isContiguous()Indicates if the dense block has a single
 underlying block, i.e., if numBlocks==1. | 
| boolean | isNumeric()Indicates if the dense block is numeric. | 
| int | numBlocks()Get the number of allocated blocks. | 
| DenseBlock | set(int[] ix,
   double v)Set the specified cell to the given value. | 
| DenseBlock | set(int[] ix,
   long v)Set the specified cell to the given value. | 
| DenseBlock | set(int[] ix,
   String v)Set the specified cell to the given value. | 
| DenseBlock | set(int r,
   int c,
   double v)Set the given value for a given row and column. | 
| double[] | values(int r)Get the allocated block for the given row. | 
| double[] | valuesAt(int bix)Get an allocated block. | 
blockSize, blockSize, countNonZeros, countNonZeros, countNonZeros, index, isContiguous, pos, pos, pos, reset, set, set, set, set, sizeestimateMemory, getCumODims, getDim, getNextIndexes, numDims, numRows, reset, reset, reset, reset, reset, reset, set, set, set, set, setDims, size, toStringpublic boolean isNumeric()
DenseBlockisNumeric in class DenseBlockpublic boolean isContiguous()
DenseBlockisContiguous in class DenseBlockpublic int numBlocks()
DenseBlocknumBlocks in class DenseBlockpublic long capacity()
DenseBlockcapacity in class DenseBlockpublic double[] values(int r)
DenseBlockvalues in class DenseBlockr - row indexpublic double[] valuesAt(int bix)
DenseBlockvaluesAt in class DenseBlockbix - block indexpublic void incr(int r,
                 int c)
DenseBlockincr in class DenseBlockr - row indexc - column indexpublic void incr(int r,
                 int c,
                 double delta)
DenseBlockincr in class DenseBlockr - row indexc - column indexdelta - increment valuepublic DenseBlock set(int r, int c, double v)
DenseBlockset in class DenseBlockr - row indexc - column indexv - valuepublic DenseBlock set(int[] ix, double v)
DenseBlockset in class DenseBlockix - cell indexesv - valuepublic DenseBlock set(int[] ix, long v)
DenseBlockset in class DenseBlockix - cell indexesv - valuepublic DenseBlock set(int[] ix, String v)
DenseBlockset in class DenseBlockix - cell indexesv - value as Stringpublic double get(int r,
                  int c)
DenseBlockget in class DenseBlockr - row indexc - column indexpublic double get(int[] ix)
DenseBlockget in class DenseBlockix - cell indexespublic String getString(int[] ix)
DenseBlockgetString in class DenseBlockix - cell indexespublic long getLong(int[] ix)
DenseBlockgetLong in class DenseBlockix - cell indexesCopyright © 2021 The Apache Software Foundation. All rights reserved.