48 #ifndef __ABS_TYPES_H__
49 #define __ABS_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/numeric_table.h"
53 #include "data_management/data/csr_numeric_table.h"
54 #include "data_management/data/homogen_numeric_table.h"
55 #include "services/daal_defines.h"
125 class DAAL_EXPORT Input :
public daal::algorithms::Input
132 Input(
const Input& other) : daal::algorithms::Input(other){}
141 data_management::NumericTablePtr
get(InputId id)
const;
148 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
157 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
164 class DAAL_EXPORT Result :
public daal::algorithms::Result
167 DECLARE_SERIALIZABLE_CAST(Result);
171 virtual ~Result() {};
181 template <
typename algorithmFPType>
182 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
189 data_management::NumericTablePtr
get(ResultId id)
const;
196 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
206 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
210 template<
typename Archive,
bool onDeserialize>
211 services::Status serialImpl(Archive *arch)
213 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
216 typedef services::SharedPtr<Result> ResultPtr;
220 using interface1::Input;
221 using interface1::Result;
222 using interface1::ResultPtr;
daal::algorithms::math::abs::data
Definition: abs_types.h:101
daal::algorithms::math::abs::ResultId
ResultId
Definition: abs_types.h:110
daal
Definition: algorithm_base_common.h:57
daal::algorithms::math::abs::Method
Method
Definition: abs_types.h:88
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:164
daal::algorithms::math::abs::value
Definition: abs_types.h:112
daal::algorithms::math::abs::defaultDense
Definition: abs_types.h:90
daal::algorithms::math::abs::fastCSR
Definition: abs_types.h:91
daal::algorithms::math::abs::InputId
InputId
Definition: abs_types.h:99