C++ API Reference for Intel® Data Analytics Acceleration Library 2019

uniform_types.h
1 /* file: uniform_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of uniform distribution.
19 //--
20 */
21 
22 #ifndef __UNIFORM__TYPES_H__
23 #define __UNIFORM__TYPES_H__
24 
25 #include "algorithms/distributions/distribution_types.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
31 namespace distributions
32 {
42 namespace uniform
43 {
48 enum Method
49 {
50  defaultDense = 0
51 };
52 
56 namespace interface1
57 {
58 
63 template<typename algorithmFPType>
64 class DAAL_EXPORT Parameter: public distributions::ParameterBase
65 {
66 public:
72  Parameter(algorithmFPType _a = 0.0, algorithmFPType _b = 1.0): a(_a), b(_b) {}
73 
74  algorithmFPType a;
75  algorithmFPType b;
80  services::Status check() const DAAL_C11_OVERRIDE;
81 };
82 
83 } // namespace interface1
84 using interface1::Parameter;
85 
86 } // namespace uniform
88 } // namespace distributions
89 } // namespace algorithms
90 } // namespace daal
91 
92 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::distributions::uniform::defaultDense
Definition: uniform_types.h:50
daal::algorithms::distributions::uniform::interface1::Parameter
Uniform distribution parameters.
Definition: uniform_types.h:64
daal::algorithms::distributions::uniform::Method
Method
Definition: uniform_types.h:48
daal::algorithms::distributions::uniform::interface1::Parameter::a
algorithmFPType a
Definition: uniform_types.h:74
daal::algorithms::distributions::uniform::interface1::Parameter::Parameter
Parameter(algorithmFPType _a=0.0, algorithmFPType _b=1.0)
Definition: uniform_types.h:72
daal::algorithms::distributions::uniform::interface1::Parameter::b
algorithmFPType b
Definition: uniform_types.h:75

For more complete information about compiler optimizations, see our Optimization Notice.