22 #ifndef __CHOLESKY_TYPES_H__
23 #define __CHOLESKY_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/numeric_table.h"
27 #include "data_management/data/homogen_numeric_table.h"
28 #include "services/daal_defines.h"
71 lastResultId = choleskyFactor
83 class DAAL_EXPORT Input :
public daal::algorithms::Input
87 Input(
const Input& other) : daal::algorithms::Input(other){}
96 data_management::NumericTablePtr
get(InputId id)
const;
103 void set(InputId
id,
const data_management::NumericTablePtr &ptr);
112 virtual services::Status check(
const daal::algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
119 class DAAL_EXPORT Result :
public daal::algorithms::Result
122 DECLARE_SERIALIZABLE_CAST(Result);
125 virtual ~Result() {};
135 template <
typename algorithmFPType>
136 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const daal::algorithms::Parameter *par,
const int method);
143 data_management::NumericTablePtr
get(ResultId id)
const;
150 void set(ResultId
id,
const data_management::NumericTablePtr &ptr);
160 virtual services::Status check(
const algorithms::Input *input,
const algorithms::Parameter *par,
int method)
const DAAL_C11_OVERRIDE;
164 template<
typename Archive,
bool onDeserialize>
165 services::Status serialImpl(Archive *arch)
167 return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
170 typedef services::SharedPtr<Result> ResultPtr;
173 using interface1::Input;
174 using interface1::Result;
175 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::cholesky::data
Definition: cholesky_types.h:60
daal::algorithms::cholesky::Method
Method
Definition: cholesky_types.h:49
daal::algorithms::cholesky::defaultDense
Definition: cholesky_types.h:51
daal::algorithms::cholesky::choleskyFactor
Definition: cholesky_types.h:70
daal::algorithms::cholesky::interface1::Result
Results obtained with the compute() method of the Cholesky algorithm in the batch processing mode...
Definition: cholesky_types.h:119
daal::algorithms::cholesky::InputId
InputId
Definition: cholesky_types.h:58
daal::algorithms::cholesky::ResultId
ResultId
Definition: cholesky_types.h:68