Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | List of all members
Result Class Reference

Provides methods to access the result obtained with the compute() method of the distribution. More...

Public Member Functions

def __init__
 Constructor.
 
def get
 
def set
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def __init__
 
def getSerializationTag
 
def check
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def allocate_{Float64|Float32} (   self,
  input,
  par,
  method 
)

Allocates memory to store the results of distribution

Parameters
inputPointer to the input structure
parPointer to the parameter structure
methodComputation method of the algorithm
Returns
Status of computations
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  parameter,
  method 
)

Checks the result object for the distribution

Parameters
inputInput of the algorithm
parameterParameter of algorithm
methodComputation method of the algorithm
Returns
Status of computations
def get (   self,
  id 
)

Returns result of the distribution

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier
def set (   self,
  id,
  ptr 
)

Sets the result of the distribution

Parameters
idIdentifier of the result
ptrPointer to the result

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

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