Automatic Differentiation
 
Loading...
Searching...
No Matches
is_var_and_matrix_types.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_VAR_AND_MATRIX_TYPES_HPP
2#define STAN_MATH_PRIM_META_IS_VAR_AND_MATRIX_TYPES_HPP
3
9
10namespace stan {
11
18template <typename... Types>
20 = bool_constant<is_var<return_type_t<Types...>>::value
22
23template <typename... Types>
26
27} // namespace stan
28#endif
bool_constant< is_var< return_type_t< Types... > >::value &&stan::math::disjunction< is_matrix< Types >... >::value > is_var_and_matrix_types
Extends std::true_type when instantiated with at least one type that has a var scalar_type and at lea...
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
std::integral_constant< bool, B > bool_constant
Alias for structs used for wraps a static constant of bool.
std::enable_if_t<!Check::value > require_not_t
If condition is false, template is disabled.
require_not_t< is_var_and_matrix_types< Types... > > require_all_not_var_and_matrix_types
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9
Defines a static member named value which is defined to be false as the primitive scalar types cannot...
Definition is_var.hpp:14
Extends std::false_type when instantiated with zero or more template parameters, all of which extend ...