C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

uniform_types.h
1 /* file: uniform_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of uniform distribution.
21 //--
22 */
23 
24 #ifndef __UNIFORM__TYPES_H__
25 #define __UNIFORM__TYPES_H__
26 
27 #include "algorithms/distributions/distribution_types.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
33 namespace distributions
34 {
44 namespace uniform
45 {
50 enum Method
51 {
52  defaultDense = 0
53 };
54 
58 namespace interface1
59 {
60 
65 template<typename algorithmFPType>
66 class DAAL_EXPORT Parameter: public distributions::ParameterBase
67 {
68 public:
74  Parameter(algorithmFPType _a = 0.0, algorithmFPType _b = 1.0): a(_a), b(_b) {}
75 
76  algorithmFPType a;
77  algorithmFPType b;
82  services::Status check() const DAAL_C11_OVERRIDE;
83 };
84 
85 } // namespace interface1
86 using interface1::Parameter;
87 
88 } // namespace uniform
90 } // namespace distributions
91 } // namespace algorithms
92 } // namespace daal
93 
94 #endif
daal::algorithms::distributions::uniform::interface1::Parameter
Uniform distribution parameters.
Definition: uniform_types.h:66
daal::algorithms::distributions::uniform::interface1::Parameter::Parameter
Parameter(algorithmFPType _a=0.0, algorithmFPType _b=1.0)
Definition: uniform_types.h:74
daal::algorithms::distributions::uniform::defaultDense
Definition: uniform_types.h:52
daal::algorithms::distributions::uniform::Method
Method
Definition: uniform_types.h:50
daal::algorithms::distributions::uniform::interface1::Parameter::b
algorithmFPType b
Definition: uniform_types.h:77
daal::algorithms::distributions::uniform::interface1::Parameter::a
algorithmFPType a
Definition: uniform_types.h:76

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