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

normal_types.h
1 /* file: normal_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 normal distribution.
21 //--
22 */
23 
24 #ifndef __NORMAL__TYPES_H__
25 #define __NORMAL__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 normal
45 {
50 enum Method
51 {
52  icdf = 0,
53  defaultDense = 0
54 };
55 
59 namespace interface1
60 {
61 
66 template<typename algorithmFPType>
67 class DAAL_EXPORT Parameter: public distributions::ParameterBase
68 {
69 public:
75  Parameter(algorithmFPType _a = 0.0, algorithmFPType _sigma = 1.0): a(_a), sigma(_sigma) {}
76 
77  algorithmFPType a;
78  algorithmFPType sigma;
83  services::Status check() const DAAL_C11_OVERRIDE;
84 };
85 
86 } // namespace interface1
87 using interface1::Parameter;
88 
89 } // namespace normal
91 } // namespace distributions
92 } // namespace algorithms
93 } // namespace daal
94 
95 #endif
daal::algorithms::distributions::normal::interface1::Parameter::sigma
algorithmFPType sigma
Definition: normal_types.h:78
daal::algorithms::distributions::normal::interface1::Parameter::Parameter
Parameter(algorithmFPType _a=0.0, algorithmFPType _sigma=1.0)
Definition: normal_types.h:75
daal::algorithms::distributions::normal::icdf
Definition: normal_types.h:52
daal::algorithms::distributions::normal::interface1::Parameter::a
algorithmFPType a
Definition: normal_types.h:77
daal::algorithms::distributions::normal::Method
Method
Definition: normal_types.h:50
daal::algorithms::distributions::normal::defaultDense
Definition: normal_types.h:53
daal::algorithms::distributions::normal::interface1::Parameter
Normal distribution parameters.
Definition: normal_types.h:67

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