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

normal_types.h
1 /* file: normal_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 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 normal distribution.
19 //--
20 */
21 
22 #ifndef __NORMAL__TYPES_H__
23 #define __NORMAL__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 normal
43 {
48 enum Method
49 {
50  icdf = 0,
51  defaultDense = 0
52 };
53 
57 namespace interface1
58 {
59 
64 template<typename algorithmFPType>
65 class DAAL_EXPORT Parameter: public distributions::ParameterBase
66 {
67 public:
73  Parameter(algorithmFPType _a = 0.0, algorithmFPType _sigma = 1.0): a(_a), sigma(_sigma) {}
74 
75  algorithmFPType a;
76  algorithmFPType sigma;
81  services::Status check() const DAAL_C11_OVERRIDE;
82 };
83 
84 } // namespace interface1
85 using interface1::Parameter;
86 
87 } // namespace normal
89 } // namespace distributions
90 } // namespace algorithms
91 } // namespace daal
92 
93 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::distributions::normal::interface1::Parameter::a
algorithmFPType a
Definition: normal_types.h:75
daal::algorithms::distributions::normal::interface1::Parameter
Normal distribution parameters.
Definition: normal_types.h:65
daal::algorithms::distributions::normal::icdf
Definition: normal_types.h:50
daal::algorithms::distributions::normal::interface1::Parameter::sigma
algorithmFPType sigma
Definition: normal_types.h:76
daal::algorithms::distributions::normal::interface1::Parameter::Parameter
Parameter(algorithmFPType _a=0.0, algorithmFPType _sigma=1.0)
Definition: normal_types.h:73
daal::algorithms::distributions::normal::Method
Method
Definition: normal_types.h:48
daal::algorithms::distributions::normal::defaultDense
Definition: normal_types.h:51

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