Intel® oneAPI Data Analytics Library Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Sum of Functions
The sum of functions 
 is a function that has the form of a sum:
 
  For given set of the indices 
, 
, 
, the value and the gradient of the sum of functions in the argument 
 has the format:
 
  
 
  The set of the indices I is called a batch of indices.
Computation
Algorithm Input
The sum of functions algorithm accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID  |  
        Input  |  
       
|---|---|
argument  |  
        A numeric table of size   |  
       
Algorithm Parameters
The sum of functions algorithm has the following parameters:
Parameter  |  
        Default Value  |  
        Description  |  
       
|---|---|---|
resultsToCompute  |  
        gradient  |  
        The 64-bit integer flag that specifies which characteristics of the objective function to compute. Provide one of the following values to request a single characteristic or use bitwise OR to request a combination of the characteristics: 
  |  
       
Algorithm Output
For the output of the sum of functions algorithm, see Output for objective functions.
 with the input argument of the objective function.