24 #ifndef __ABS_TYPES_H__
25 #define __ABS_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/numeric_table.h"
29 #include "data_management/data/csr_numeric_table.h"
30 #include "data_management/data/homogen_numeric_table.h"
31 #include "services/daal_defines.h"
102 class DAAL_EXPORT Input :
public daal::algorithms::Input
115 Input(
const Input& other) : daal::algorithms::Input(other){}
120 DAAL_DEPRECATED_VIRTUAL
virtual ~Input() {}
127 data_management::NumericTablePtr
get(InputId id)
const;
134 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
143 services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
151 class DAAL_EXPORT Result :
public daal::algorithms::Result
154 DECLARE_SERIALIZABLE_CAST(Result);
164 DAAL_DEPRECATED_VIRTUAL
virtual ~Result() {};
174 template <
typename algorithmFPType>
175 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
182 data_management::NumericTablePtr
get(ResultId id)
const;
189 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
199 services::Status check(
const daal::algorithms::Input *in,
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
203 template<
typename Archive,
bool onDeserialize>
204 services::Status serialImpl(Archive *arch)
206 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
209 typedef services::SharedPtr<Result> ResultPtr;
213 using interface1::Input;
214 using interface1::Result;
215 using interface1::ResultPtr;
daal::algorithms::math::abs::fastCSR
Definition: abs_types.h:67
daal::algorithms::math::abs::InputId
InputId
Definition: abs_types.h:75
daal::algorithms::math::abs::interface1::Input::Input
Input(const Input &other)
Definition: abs_types.h:115
daal::algorithms::math::abs::data
Definition: abs_types.h:77
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:151
daal::algorithms::math::abs::Method
Method
Definition: abs_types.h:64
daal::algorithms::math::abs::defaultDense
Definition: abs_types.h:66
daal::algorithms::math::abs::ResultId
ResultId
Definition: abs_types.h:86
daal::algorithms::math::abs::value
Definition: abs_types.h:88
daal::algorithms::math::abs::interface1::Input
Input objects for the absolute value function
Definition: abs_types.h:102