A derivative class of the NumericTable class, that provides methods to access the data that is stored as a contiguous array of homogeneous feature vectors. Table rows contain feature vectors, and columns contain values of individual features.
More...
◆ HomogenNumericTable() [1/31]
Constructs homogeneous numeric table using implementation provided by user
- Parameters
-
context | Context to manage created homogeneous numeric table |
impl | Implementation of homogeneous numeric table |
◆ HomogenNumericTable() [2/31]
Constructs homogeneous numeric table from the array of doubles
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [3/31]
Constructs homogeneous numeric table from the array of doubles
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [4/31]
Constructs homogeneous numeric table from the array of floats
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [5/31]
Constructs homogeneous numeric table from the array of floats
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [6/31]
Constructs homogeneous numeric table from the array of longs
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [7/31]
Constructs homogeneous numeric table from the array of longs
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [8/31]
Constructs homogeneous numeric table from the array of integers
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [9/31]
Constructs homogeneous numeric table from the array of integers
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
◆ HomogenNumericTable() [10/31]
Constructs homogeneous numeric table from the array of doubles and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [11/31]
HomogenNumericTable |
( |
DaalContext |
context, |
|
|
DataDictionary.FeaturesEqual |
featuresEqual, |
|
|
double [] |
data, |
|
|
long |
nFeatures, |
|
|
long |
nVectors, |
|
|
double |
constValue |
|
) |
| |
Constructs homogeneous numeric table from the array of doubles and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [12/31]
Constructs homogeneous numeric table from the array of floats and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [13/31]
HomogenNumericTable |
( |
DaalContext |
context, |
|
|
DataDictionary.FeaturesEqual |
featuresEqual, |
|
|
float [] |
data, |
|
|
long |
nFeatures, |
|
|
long |
nVectors, |
|
|
float |
constValue |
|
) |
| |
Constructs homogeneous numeric table from the array of floats and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [14/31]
Constructs homogeneous numeric table from the array of longs and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [15/31]
Constructs homogeneous numeric table from the array of longs and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [16/31]
Constructs homogeneous numeric table from the array of integers and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [17/31]
Constructs homogeneous numeric table from the array of integers and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
data | Array of size nVectors x nFeatures |
nFeatures | Number of features in numeric table |
nVectors | Number of feature vectors in numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [18/31]
Constructs homogeneous numeric table from C++ homogeneous numeric table
- Parameters
-
context | Context to manage created homogeneous numeric table |
cTable | Pointer to C++ numeric table |
◆ HomogenNumericTable() [19/31]
Constructs homogeneous numeric table without memory allocation
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
◆ HomogenNumericTable() [20/31]
Constructs homogeneous numeric table without memory allocation
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
◆ HomogenNumericTable() [21/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
◆ HomogenNumericTable() [22/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
◆ HomogenNumericTable() [23/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [24/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [25/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [26/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [27/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [28/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [29/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [30/31]
Constructs homogeneous numeric table with memory allocation controlled via a flag and filling the table with a constant
- Parameters
-
context | Context to manage created homogeneous numeric table |
featuresEqual | Flag that makes all features in the Numeric Table Data Dictionary equal |
cls | Numeric type of values in the table |
nColumns | Number of columns in the table |
nRows | Number of rows in the table |
allocFlag | Flag that controls internal memory allocation for data in the numeric table |
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ HomogenNumericTable() [31/31]
Constructs an empty Numeric Table with a predefined Data Dictionary
- Parameters
-
context | Context to manage created homogeneous numeric table |
cls | Numeric type of values in the table |
dict | Predefined Data Dictionary |
◆ assign() [1/4]
void assign |
( |
long |
constValue | ) |
|
Fills a numeric table with a constant
- Parameters
-
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ assign() [2/4]
void assign |
( |
int |
constValue | ) |
|
Fills a numeric table with a constant
- Parameters
-
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ assign() [3/4]
void assign |
( |
double |
constValue | ) |
|
Fills a numeric table with a constant
- Parameters
-
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ assign() [4/4]
void assign |
( |
float |
constValue | ) |
|
Fills a numeric table with a constant
- Parameters
-
constValue | Constant to initialize entries of the homogeneous numeric table |
◆ getBlockOfColumnValues() [1/3]
DoubleBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.DoubleBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the DoubleBuffer
◆ getBlockOfColumnValues() [2/3]
FloatBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.FloatBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the FloatBuffer
◆ getBlockOfColumnValues() [3/3]
IntBuffer getBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Gets block of values for a given feature and returns it to java.nio.IntBuffer. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Buffer to store results |
- Returns
- Block of values of the feature packed into the IntBuffer
◆ getBlockOfRows() [1/3]
DoubleBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.DoubleBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Buffer to store results |
- Returns
- Block of table rows packed into DoubleBuffer
◆ getBlockOfRows() [2/3]
FloatBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.FloatBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Buffer to store results |
- Returns
- Block of table rows packed into FloatBuffer
◆ getBlockOfRows() [3/3]
IntBuffer getBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Reads block of rows from the table and returns it to java.nio.IntBuffer. This method needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Buffer to store results |
- Returns
- Block of table rows packed into IntBuffer
◆ getDataObject()
Gets data as an Object
- Returns
- Table data as an Object
◆ getDoubleArray()
double [] getDoubleArray |
( |
| ) |
|
Gets data as an array of doubles
- Returns
- Table data as an array of double
◆ getFloatArray()
float [] getFloatArray |
( |
| ) |
|
Gets data as an array of floats
- Returns
- Table data as an array of floats
◆ getLongArray()
Gets data as an array of longs
- Returns
- Table data as an array of longs
◆ getNumericType()
Class<? extends Number> getNumericType |
( |
| ) |
|
Gets numeric type of data stored in numeric table
- Returns
- Numeric type of table data
◆ releaseBlockOfColumnValues() [1/3]
void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input DoubleBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Input DoubleBuffer of size vectorNum |
◆ releaseBlockOfColumnValues() [2/3]
void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input FloatBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Input FloatBuffer of size vectorNum |
◆ releaseBlockOfColumnValues() [3/3]
void releaseBlockOfColumnValues |
( |
long |
featureIndex, |
|
|
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Transfers the values of a given feature from the input IntBuffer into a block of values of the feature in the table. This function needs to be defined by user in the subclass of this class.
- Parameters
-
featureIndex | Index of the feature |
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of values in the block |
buf | Input IntBuffer of size vectorNum |
◆ releaseBlockOfRows() [1/3]
void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
FloatBuffer |
buf |
|
) |
| |
Transfers the data from the input FloatBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Input FloatBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
◆ releaseBlockOfRows() [2/3]
void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
DoubleBuffer |
buf |
|
) |
| |
Transfers the data from the input DoubleBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Input DoubleBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
◆ releaseBlockOfRows() [3/3]
void releaseBlockOfRows |
( |
long |
vectorIndex, |
|
|
long |
vectorNum, |
|
|
IntBuffer |
buf |
|
) |
| |
Transfers the data from the input IntBuffer into a block of table rows. This function needs to be defined by user in the subclass of this class.
- Parameters
-
vectorIndex | Index of the first row to include into the block |
vectorNum | Number of rows in the block |
buf | Input IntBuffer with the capacity vectorNum * nColumns, where nColumns is the number of columns in the table |
The documentation for this class was generated from the following file: