Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta/require_helpers.hpp>
#include <stan/math/prim/meta/scalar_type.hpp>
#include <stan/math/prim/meta/value_type.hpp>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | stan::is_fvar< T, typename > |
Defines a static member function type which is defined to be false as the primitive scalar types cannot be a stan::math::fvar type. More... | |
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
Typedefs | |
template<typename T > | |
using | stan::require_fvar_t = require_t< is_fvar< std::decay_t< T > > > |
Require type satisfies is_fvar. | |
template<typename T > | |
using | stan::require_not_fvar_t = require_not_t< is_fvar< std::decay_t< T > > > |
Require type does not satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_all_fvar_t = require_all_t< is_fvar< std::decay_t< Types > >... > |
Require all of the types satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_any_fvar_t = require_any_t< is_fvar< std::decay_t< Types > >... > |
Require any of the types satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_all_not_fvar_t = require_all_not_t< is_fvar< std::decay_t< Types > >... > |
Require none of the types satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_any_not_fvar_t = require_any_not_t< is_fvar< std::decay_t< Types > >... > |
Require at least one of the types do not satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_any_vt_fvar = require_any_t< is_fvar< value_type_t< std::decay_t< Types > > >... > |
Require any of the value types satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_all_not_vt_fvar = require_all_not_t< is_fvar< value_type_t< std::decay_t< Types > > >... > |
Require none of the value types satisfy is_fvar. | |
template<typename T > | |
using | stan::require_st_fvar = require_t< is_fvar< scalar_type_t< std::decay_t< T > > > > |
Require scalar type satisfies is_fvar. | |
template<typename T > | |
using | stan::require_not_st_fvar = require_not_t< is_fvar< scalar_type_t< std::decay_t< T > > > > |
Require scalar type does not satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_any_st_fvar = require_any_t< is_fvar< scalar_type_t< std::decay_t< Types > > >... > |
Require any of the scalar types satisfy is_fvar. | |
template<typename... Types> | |
using | stan::require_all_not_st_fvar = require_all_not_t< is_fvar< scalar_type_t< std::decay_t< Types > > >... > |
Require none of the scalar types satisfy is_fvar. | |