Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

List of all members

Parameters of the Sum of functions algorithm. More...

Class Constructor

Parameter ( DaalContext  context,
long  cParameter 
)

Constructs the parameter for the sum of functions algorithm

Parameters
contextContext to manage the sum of functions algorithm
cParameterPointer to C++ implementation of the parameter
Parameter ( long  numberOfTerms,
DaalContext  context 
)

Constructs the parameter for the sum of functions algorithm

Parameters
numberOfTermsThe number of terms in the function that can be represented as sum
contextContext to manage the sum of functions algorithm

Detailed Description

Member Function Documentation

void dispose ( )

Releases memory allocated for the native parameter object

Implements Disposable.

NumericTable getBatchIndices ( )

Gets the numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.

Returns
The numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.
long getNumberOfTerms ( )

Gets the number of terms in the function

Returns
The number of terms in the function
void setBatchIndices ( NumericTable  batchIndices)

Sets the numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.

Parameters
batchIndicesThe numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.
void setCParameter ( long  cParameter,
long  cAlgorithm 
)

Sets parameter pointer for algorithm in native side

Parameters
cParameterThe address of the native parameter object
cAlgorithmThe address of the native algorithm object
void setNumberOfTerms ( long  numberOfTerms)

Sets the number of terms in the function

Parameters
numberOfTermsThe number of terms in the function

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

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