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

bernoulli_types.h
1 /* file: bernoulli_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 bernoulli distribution.
19 //--
20 */
21 
22 #ifndef __BERNOULLI__TYPES_H__
23 #define __BERNOULLI__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 bernoulli
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:
71  Parameter(algorithmFPType _p): p(_p) {}
72 
73  algorithmFPType p;
78  services::Status check() const DAAL_C11_OVERRIDE;
79 };
80 
81 } // namespace interface1
82 using interface1::Parameter;
83 
84 } // namespace bernoulli
86 } // namespace distributions
87 } // namespace algorithms
88 } // namespace daal
89 
90 #endif
daal::algorithms::distributions::bernoulli::interface1::Parameter::p
algorithmFPType p
Definition: bernoulli_types.h:73
daal
Definition: algorithm_base_common.h:31
daal::algorithms::distributions::bernoulli::interface1::Parameter
Bernoulli distribution parameters.
Definition: bernoulli_types.h:64
daal::algorithms::distributions::bernoulli::Method
Method
Definition: bernoulli_types.h:48
daal::algorithms::distributions::bernoulli::defaultDense
Definition: bernoulli_types.h:50
daal::algorithms::distributions::bernoulli::interface1::Parameter::Parameter
Parameter(algorithmFPType _p)
Definition: bernoulli_types.h:71

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