22 #ifndef __ABS_TYPES_H__
23 #define __ABS_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/csr_numeric_table.h"
28 #include "data_management/data/homogen_numeric_table.h"
29 #include "services/daal_defines.h"
99 class DAAL_EXPORT Input :
public daal::algorithms::Input
106 Input(
const Input& other) : daal::algorithms::Input(other){}
115 data_management::NumericTablePtr
get(InputId id)
const;
122 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
131 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
138 class DAAL_EXPORT Result :
public daal::algorithms::Result
141 DECLARE_SERIALIZABLE_CAST(Result);
145 virtual ~Result() {};
155 template <
typename algorithmFPType>
156 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
163 data_management::NumericTablePtr
get(ResultId id)
const;
170 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
180 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
184 template<
typename Archive,
bool onDeserialize>
185 services::Status serialImpl(Archive *arch)
187 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
190 typedef services::SharedPtr<Result> ResultPtr;
194 using interface1::Input;
195 using interface1::Result;
196 using interface1::ResultPtr;
daal::algorithms::math::abs::data
Definition: abs_types.h:75
daal::algorithms::math::abs::ResultId
ResultId
Definition: abs_types.h:84
daal
Definition: algorithm_base_common.h:31
daal::algorithms::math::abs::Method
Method
Definition: abs_types.h:62
daal::algorithms::math::abs::interface1::Result
Result obtained with the compute() method of the absolute value function in the batch processing mode...
Definition: abs_types.h:138
daal::algorithms::math::abs::value
Definition: abs_types.h:86
daal::algorithms::math::abs::defaultDense
Definition: abs_types.h:64
daal::algorithms::math::abs::fastCSR
Definition: abs_types.h:65
daal::algorithms::math::abs::InputId
InputId
Definition: abs_types.h:73