Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members
Parameter Class Reference

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

Class Constructor

◆ Parameter() [1/2]

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() [2/2]

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

◆ dispose()

void dispose ( )

Releases memory allocated for the native parameter object

Implements Disposable.

◆ getBatchIndices()

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.

◆ getNumberOfTerms()

long getNumberOfTerms ( )

Gets the number of terms in the function

Returns
The number of terms in the function

◆ setBatchIndices()

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.

◆ setCParameter()

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

◆ setNumberOfTerms()

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.