Loading [MathJax]/extensions/TeX/AMSsymbols.js
Stan Math Library
5.0.0
Automatic Differentiation
▼
Stan Math Library
Overview
▼
Contributor Guides
Developer Guide
Adding New Functions
Adding New Distributions
Common Pitfalls
Using requires for general overloads
Reverse Mode Types
Testing Automatic Differentiation Functions
Testing New Distributions
Add New Functions With Known Gradients
Adding New OpenCL Functions
Windows Development Tips
▼
Internal Docs
►
Probability Distributions
►
OpenCL
►
Compressed Sparse Row matrix format.
►
Type Traits
►
Available requires<> for overloading.
►
Eigen expressions
►
arena_matrix <br>
►
real <br>
►
Parallelism
(External Link) Stan Language Docs
(External Link) Stan Discourse
►
Stan Math Library Docs
►
Class List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
disjunction.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_META_DISJUNCTION_HPP
2
#define STAN_MATH_PRIM_META_DISJUNCTION_HPP
3
4
#include <type_traits>
5
6
namespace
stan
{
7
namespace
math {
13
template
<
typename
... Conds>
14
struct
disjunction
: std::false_type {};
15
16
template
<
typename
Cond,
typename
... Conds>
17
struct
disjunction
<Cond, Conds...>
18
: std::conditional_t<Cond::value, std::true_type, disjunction<Conds...>> {};
19
20
}
// namespace math
21
}
// namespace stan
22
#endif
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
stan::math::disjunction
Extends std::false_type when instantiated with zero or more template parameters, all of which extend ...
Definition
disjunction.hpp:14
stan
math
prim
meta
disjunction.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.