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

List of all members
DistributedPartialResult Class Reference

Provides methods to access partial results obtained with the compute() method of the second step of the QR decomposition algorithm in the distributed processing mode. More...

Class Declaration

Constructor & Destructor Documentation

Default constructor

virtual ~DistributedPartialResult ( )
inlinevirtual

Default destructor

Member Function Documentation

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Allocates memory for storing partial results of the QR decomposition algorithm

Parameters
[in]inputPointer to input object
[in]parameterPointer to parameter
[in]methodComputation method
virtual services::Status check ( const daal::algorithms::Parameter *  parameter,
int  method 
) const
virtual

Checks partial results of the algorithm

Parameters
[in]parameterPointer to parameters
[in]methodComputation method
virtual services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
int  method 
) const
virtual

Checks final results of the algorithm

Parameters
[in]inputPointer to input objects
[in]parameterPointer to parameters
[in]methodComputation method
data_management::KeyValueDataCollectionPtr get ( DistributedPartialResultCollectionId  id) const

Returns partial result of the QR decomposition algorithm. KeyValueDataCollection under outputOfStep2ForStep3 id is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Parameters
[in]idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier
ResultPtr get ( DistributedPartialResultId  id) const

Returns the result of the QR decomposition algorithm with the matrix R calculated

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
void set ( DistributedPartialResultCollectionId  id,
const data_management::KeyValueDataCollectionPtr &  value 
)

Sets KeyValueDataCollection to store partial result of the QR decomposition algorithm

Parameters
[in]idIdentifier of partial result
[in]valuePointer to the Result object
void set ( DistributedPartialResultId  id,
const ResultPtr &  value 
)

Sets Result object to store the result of the QR decomposition algorithm

Parameters
[in]idIdentifier of the result
[in]valuePointer to the Result object
DAAL_EXPORT services::Status setPartialResultStorage ( data_management::KeyValueDataCollection *  inCollection,
size_t &  nBlocks 
)

Allocates memory for storing partial results of the QR decomposition algorithm based on known structure of partial results from the first steps of the algorithm in the distributed processing mode. KeyValueDataCollection under outputOfStep2ForStep3 is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Template Parameters
algorithmFPTypeData type to be used for storage in resulting HomogenNumericTable
Parameters
[in]inCollectionKeyValueDataCollection of all partial results from the first steps of the algorithm in the distributed processing mode
[out]nBlocksNumber of rows in the input data set

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

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