24 #ifndef __KERNEL_FUNCTION_TYPES_H__
25 #define __KERNEL_FUNCTION_TYPES_H__
27 #include "data_management/data/homogen_numeric_table.h"
42 namespace kernel_function
88 struct DAAL_EXPORT ParameterBase :
public daal::algorithms::Parameter
90 ParameterBase(
size_t rowIndexX = 0,
size_t rowIndexY = 0,
size_t rowIndexResult = 0, ComputationMode computationMode = matrixMatrix);
94 size_t rowIndexResult;
95 ComputationMode computationMode;
103 class DAAL_EXPORT Input :
public daal::algorithms::Input
107 Input(
const Input& other);
116 data_management::NumericTablePtr
get(InputId id)
const;
123 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
126 services::Status checkCSR()
const;
128 services::Status checkDense()
const;
135 class DAAL_EXPORT Result :
public daal::algorithms::Result
138 DECLARE_SERIALIZABLE_CAST(Result);
141 virtual ~Result() {};
148 template <
typename algorithmFPType>
149 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
156 data_management::NumericTablePtr
get(ResultId id)
const;
163 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
171 services::Status check(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
175 template<
typename Archive,
bool onDeserialize>
176 services::Status serialImpl(Archive *arch)
178 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
181 typedef services::SharedPtr<Result> ResultPtr;
184 using interface1::ParameterBase;
185 using interface1::Input;
186 using interface1::Result;
187 using interface1::ResultPtr;
daal::algorithms::kernel_function::matrixVector
Definition: kernel_function_types.h:51
daal::algorithms::kernel_function::InputId
InputId
Definition: kernel_function_types.h:59
daal::algorithms::kernel_function::interface1::ParameterBase::computationMode
ComputationMode computationMode
Definition: kernel_function_types.h:95
daal::algorithms::kernel_function::X
Definition: kernel_function_types.h:61
daal::algorithms::kernel_function::ComputationMode
ComputationMode
Definition: kernel_function_types.h:48
daal::algorithms::kernel_function::ResultId
ResultId
Definition: kernel_function_types.h:70
daal::algorithms::kernel_function::interface1::ParameterBase::rowIndexY
size_t rowIndexY
Definition: kernel_function_types.h:93
daal::algorithms::kernel_function::matrixMatrix
Definition: kernel_function_types.h:52
daal::algorithms::kernel_function::values
Definition: kernel_function_types.h:72
daal::algorithms::kernel_function::interface1::ParameterBase::rowIndexResult
size_t rowIndexResult
Definition: kernel_function_types.h:94
daal::algorithms::kernel_function::interface1::ParameterBase::rowIndexX
size_t rowIndexX
Definition: kernel_function_types.h:92
daal::algorithms::kernel_function::interface1::Result
Results obtained with the compute() method of the kernel function algorithm in the batch processing m...
Definition: kernel_function_types.h:135
daal::algorithms::kernel_function::Y
Definition: kernel_function_types.h:62
daal::algorithms::kernel_function::interface1::Input
Input objects for the kernel function algorithm
Definition: kernel_function_types.h:103
daal::algorithms::kernel_function::interface1::ParameterBase
Optional input objects for the kernel function algorithm.
Definition: kernel_function_types.h:88
daal::algorithms::kernel_function::vectorVector
Definition: kernel_function_types.h:50