C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Types | Static Public Member Functions | List of all members
HomogenNumericTable< DataType > Class Template Reference

Class that provides methods to access data stored as a contiguous array of homogeneous feature vectors. Table rows contain feature vectors, and columns contain values of individual features. More...

Public Types

typedef DataType baseDataType
 
- Public Types inherited from NumericTableIface
enum  MemoryStatus { notAllocated, userAllocated, internallyAllocated }
 Enumeration to specify the status of memory related to the Numeric Table. More...
 
enum  AllocationFlag { doNotAllocate = 0, notAllocate = 0, doAllocate = 1 }
 Enumeration to specify whether the Numeric Table must allocate memory. More...
 
enum  BasicStatisticsId { minimum = 0, maximum = 1, sum = 2, sumSquares = 3 }
 Enumeration to specify estimates of basic statistics stored. More...
 
enum  FeatureBasicStatistics { counters }
 Enumeration to specify feature-specific estimates of basic statistics stored. More...
 
enum  NormalizationType { nonNormalized = 0, standardScoreNormalized = 1, minMaxNormalized = 2 }
 Enumeration to specify types of normalization. More...
 
enum  StorageLayout
 Storage layouts that may need to be supported. More...
 

Static Public Member Functions

static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (NumericTableDictionaryPtr ddictForHomogenNumericTable, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DataType *const ptr, size_t nColumns=0, size_t nRows=0, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (const services::SharedPtr< DataType > &ptr, size_t nColumns, size_t nRows, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, DataType *const ptr=0, size_t nColumns=0, size_t nRows=0, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr< DataType > &ptr, size_t nColumns, size_t nRows, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DataType *const ptr, size_t nColumns, size_t nRows, const DataType &constValue, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (const services::SharedPtr< DataType > &ptr, size_t nColumns, size_t nRows, const DataType &constValue, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, DataType *const ptr, size_t nColumns, size_t nRows, const DataType &constValue, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr< DataType > &ptr, size_t nColumns, size_t nRows, const DataType &constValue, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag, const DataType &constValue, services::Status *stat=NULL)
 
static services::SharedPtr
< HomogenNumericTable
< DataType > > 
create (DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag, const DataType &constValue, services::Status *stat=NULL)
 

Class Declaration

template<typename DataType = DAAL_DATA_TYPE>
class daal::data_management::interface1::HomogenNumericTable< DataType >

Template Parameters
DataTypeDefines the underlying data type that describes a Numeric Table

Member Typedef Documentation

typedef DataType baseDataType

Typedef that stores a datatype used for template instantiation

Constructor & Destructor Documentation

DAAL_DEPRECATED HomogenNumericTable ( NumericTableDictionary ddict)
inline

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
[in]ddictPointer to the predefined NumericTableDictionary
Deprecated:
This item will be removed in a future release.
HomogenNumericTable ( NumericTableDictionaryPtr  ddictForHomogenNumericTable)
inline

Constructor for an empty Numeric Table with a predefined NumericTableDictionary

Parameters
[in]ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( )
inline

Constructor for an empty Numeric Table

Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DataType *const  ptr,
size_t  nColumns = 0,
size_t  nRows = 0 
)
inline

Constructor for a Numeric Table with user-allocated memory

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows 
)
inline

Constructor for a Numeric Table with user-allocated memory

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
DataType *const  ptr = 0,
size_t  nColumns = 0,
size_t  nRows = 0 
)
inline

Constructor for a Numeric Table with user-allocated memory

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows 
)
inline

Constructor for a Numeric Table with user-allocated memory

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DataType *const  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue 
)
inline

Constructor for a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue 
)
inline

Constructor for a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
DataType *const  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue 
)
inline

Constructor for a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue 
)
inline

Constructor for a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag 
)
inline

Constructor for a Numeric Table with memory allocation controlled via a flag

Parameters
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag 
)
inline

Constructor for a Numeric Table with memory allocation controlled via a flag

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( size_t  nColumns,
size_t  nRows,
NumericTable::AllocationFlag  memoryAllocationFlag,
const DataType &  constValue 
)
inline

Constructor for a Numeric Table with memory allocation controlled via a flag and filling the table with a constant

Parameters
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.
HomogenNumericTable ( DictionaryIface::FeaturesEqual  featuresEqual,
size_t  nColumns,
size_t  nRows,
NumericTable::AllocationFlag  memoryAllocationFlag,
const DataType &  constValue 
)
inline

Constructor for a numeric table with memory allocation controlled via a flag and filling the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the numeric table data dictionary equal
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[in]constValueConstant to initialize entries of the homogeneous numeric table
Deprecated:
This item will be removed in a future release. Use HomogenNumericTable::create instead.

Member Function Documentation

services::Status assign ( value)
inline

Fills a numeric table with a constant

Parameters
[in]valueConstant to initialize entries of the homogeneous numeric table
virtual services::Status assign ( float  value)
inlinevirtual

Fills a numeric table with a constant

Parameters
[in]valueConstant to initialize entries of the numeric table

Reimplemented from NumericTable.

virtual services::Status assign ( double  value)
inlinevirtual

Fills a numeric table with a constant

Parameters
[in]valueConstant to initialize entries of the numeric table

Reimplemented from NumericTable.

virtual services::Status assign ( int  value)
inlinevirtual

Fills a numeric table with a constant

Parameters
[in]valueConstant to initialize entries of the numeric table

Reimplemented from NumericTable.

static services::SharedPtr<HomogenNumericTable<DataType> > create ( NumericTableDictionaryPtr  ddictForHomogenNumericTable,
services::Status *  stat = NULL 
)
inlinestatic

Constructs an empty Numeric Table with a predefined NumericTableDictionary

Parameters
[in]ddictForHomogenNumericTablePointer to the predefined NumericTableDictionary
[out]statStatus of the numeric table construction
Returns
Empty numeric table with a predefined NumericTableDictionary
static services::SharedPtr<HomogenNumericTable<DataType> > create ( services::Status *  stat = NULL)
inlinestatic

Constructs an empty Numeric Table

Parameters
[out]statStatus of the numeric table construction
Returns
Empty numeric table
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DataType *const  ptr,
size_t  nColumns = 0,
size_t  nRows = 0,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory
static services::SharedPtr<HomogenNumericTable<DataType> > create ( const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
DataType *const  ptr = 0,
size_t  nColumns = 0,
size_t  nRows = 0,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DataType *const  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant
static services::SharedPtr<HomogenNumericTable<DataType> > create ( const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
DataType *const  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
const services::SharedPtr< DataType > &  ptr,
size_t  nColumns,
size_t  nRows,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with user-allocated memory and filling the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]ptrPointer to and an array with a homogeneous data set
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table with user-allocated memory and initialized with a constant
static services::SharedPtr<HomogenNumericTable<DataType> > create ( size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with memory allocation controlled via a flag

Parameters
[in]featuresEqualFlag that makes all features in the Numeric Table Data Dictionary equal
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table
static services::SharedPtr<HomogenNumericTable<DataType> > create ( size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant

Parameters
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table initialized with a constant
static services::SharedPtr<HomogenNumericTable<DataType> > create ( DictionaryIface::FeaturesEqual  featuresEqual,
size_t  nColumns,
size_t  nRows,
AllocationFlag  memoryAllocationFlag,
const DataType &  constValue,
services::Status *  stat = NULL 
)
inlinestatic

Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant

Parameters
[in]featuresEqualFlag that makes all features in the numeric table data dictionary equal
[in]nColumnsNumber of columns in the table
[in]nRowsNumber of rows in the table
[in]memoryAllocationFlagFlag that controls internal memory allocation for data in the numeric table
[in]constValueConstant to initialize entries of the homogeneous numeric table
[out]statStatus of the numeric table construction
Returns
Numeric table initialized with a constant
DataType* getArray ( ) const
inline

Returns a pointer to a data set registered in a homogeneous Numeric Table

Returns
Pointer to the data set
services::SharedPtr<DataType> getArraySharedPtr ( ) const
inline

Returns a pointer to a data set registered in a homogeneous Numeric Table

Returns
Pointer to the data set
services::Status getBlockOfColumnValues ( size_t  feature_idx,
size_t  vector_idx,
size_t  value_num,
ReadWriteMode  rwflag,
BlockDescriptor< double > &  block 
)
inlinevirtual

Gets a block of values for a given feature.

Parameters
[in]feature_idxFeature index.
[in]vector_idxIndex of the first feature vector to include into the block.
[in]value_numNumber of feature values in the block.
[in]rwflagFlag specifying read/write access to the block of feature values.
[out]blockThe block of feature values.
Returns
Actual number of feature values returned by the method.

Implements DenseNumericTableIface.

services::Status getBlockOfColumnValues ( size_t  feature_idx,
size_t  vector_idx,
size_t  value_num,
ReadWriteMode  rwflag,
BlockDescriptor< float > &  block 
)
inlinevirtual

Gets a block of values for a given feature.

Parameters
[in]feature_idxFeature index.
[in]vector_idxIndex of the first feature vector to include into the block.
[in]value_numNumber of feature values in the block.
[in]rwflagFlag specifying read/write access to the block of feature values.
[out]blockThe block of feature values.
Returns
Actual number of feature values returned by the method.

Implements DenseNumericTableIface.

services::Status getBlockOfColumnValues ( size_t  feature_idx,
size_t  vector_idx,
size_t  value_num,
ReadWriteMode  rwflag,
BlockDescriptor< int > &  block 
)
inlinevirtual

Gets a block of values for a given feature.

Parameters
[in]feature_idxFeature index.
[in]vector_idxIndex of the first feature vector to include into the block.
[in]value_numNumber of feature values in the block.
[in]rwflagFlag specifying read/write access to the block of feature values.
[out]blockThe block of feature values.
Returns
Actual number of feature values returned by the method.

Implements DenseNumericTableIface.

services::Status getBlockOfRows ( size_t  vector_idx,
size_t  vector_num,
ReadWriteMode  rwflag,
BlockDescriptor< double > &  block 
)
inlinevirtual

Gets a block of rows from a table.

Parameters
[in]vector_idxIndex of the first row to include into the block.
[in]vector_numNumber of rows in the block.
[in]rwflagFlag specifying read/write access to the block of feature vectors.
[out]blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.

Implements DenseNumericTableIface.

services::Status getBlockOfRows ( size_t  vector_idx,
size_t  vector_num,
ReadWriteMode  rwflag,
BlockDescriptor< float > &  block 
)
inlinevirtual

Gets a block of rows from a table.

Parameters
[in]vector_idxIndex of the first row to include into the block.
[in]vector_numNumber of rows in the block.
[in]rwflagFlag specifying read/write access to the block of feature vectors.
[out]blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.

Implements DenseNumericTableIface.

services::Status getBlockOfRows ( size_t  vector_idx,
size_t  vector_num,
ReadWriteMode  rwflag,
BlockDescriptor< int > &  block 
)
inlinevirtual

Gets a block of rows from a table.

Parameters
[in]vector_idxIndex of the first row to include into the block.
[in]vector_numNumber of rows in the block.
[in]rwflagFlag specifying read/write access to the block of feature vectors.
[out]blockThe block of feature vectors.
Returns
Actual number of feature vectors returned by the method.

Implements DenseNumericTableIface.

DataType* operator[] ( size_t  i)
inline

Returns a pointer to the i-th row of a data set

Parameters
[in]iIndex of the row
Returns
Pointer to the i-th row
services::Status releaseBlockOfColumnValues ( BlockDescriptor< double > &  block)
inlinevirtual

Releases a block of values for a given feature.

Parameters
[in]blockThe block of feature values.

Implements DenseNumericTableIface.

services::Status releaseBlockOfColumnValues ( BlockDescriptor< float > &  block)
inlinevirtual

Releases a block of values for a given feature.

Parameters
[in]blockThe block of feature values.

Implements DenseNumericTableIface.

services::Status releaseBlockOfColumnValues ( BlockDescriptor< int > &  block)
inlinevirtual

Releases a block of values for a given feature.

Parameters
[in]blockThe block of feature values.

Implements DenseNumericTableIface.

services::Status releaseBlockOfRows ( BlockDescriptor< double > &  block)
inlinevirtual

Releases a block of rows.

Parameters
[in]blockThe block of rows.

Implements DenseNumericTableIface.

services::Status releaseBlockOfRows ( BlockDescriptor< float > &  block)
inlinevirtual

Releases a block of rows.

Parameters
[in]blockThe block of rows.

Implements DenseNumericTableIface.

services::Status releaseBlockOfRows ( BlockDescriptor< int > &  block)
inlinevirtual

Releases a block of rows.

Parameters
[in]blockThe block of rows.

Implements DenseNumericTableIface.

DAAL_DEPRECATED services::Status setArray ( DataType *const  ptr)
inline

Sets a pointer to a homogeneous data set

Parameters
[in]ptrPointer to the data set in the homogeneous format
Deprecated:
This item will be removed in a future release.
DAAL_DEPRECATED services::Status setArray ( const services::SharedPtr< DataType > &  ptr)
inline

Sets a pointer to a homogeneous data set

Parameters
[in]ptrPointer to the data set in the homogeneous format
Deprecated:
This item will be removed in a future release.
services::Status setArray ( DataType *const  ptr,
size_t  nRows 
)
inline

Sets a pointer to a homogeneous data set

Parameters
[in]ptrPointer to the data set in the homogeneous format
[in]nRowsThe number of rows stored in array
services::Status setArray ( services::SharedPtr< DataType >  ptr,
size_t  nRows 
)
inline

Sets a pointer to a homogeneous data set

Parameters
[in]ptrPointer to the data set in the homogeneous format
[in]nRowsThe number of rows stored in array

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.