Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta/is_var.hpp>
#include <stan/math/prim/meta/is_fvar.hpp>
#include <stan/math/prim/meta/require_helpers.hpp>
#include <complex>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | stan::is_autodiff< T > |
Checks if decayed type is a var or fvar. 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_autodiff_t = require_t< is_autodiff< std::decay_t< T > > > |
Require type satisfies is_autodiff. | |
template<typename T > | |
using | stan::require_not_autodiff_t = require_not_t< is_autodiff< std::decay_t< T > > > |
Require type does not satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_all_autodiff_t = require_all_t< is_autodiff< std::decay_t< Types > >... > |
Require all of the types satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_any_autodiff_t = require_any_t< is_autodiff< std::decay_t< Types > >... > |
Require any of the types satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_all_not_autodiff_t = require_all_not_t< is_autodiff< std::decay_t< Types > >... > |
Require none of the types satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_any_not_autodiff_t = require_any_not_t< is_autodiff< std::decay_t< Types > >... > |
Require at least one of the types do not satisfy is_autodiff. | |
template<typename T > | |
using | stan::require_not_vt_autodiff = require_not_t< is_autodiff< value_type_t< std::decay_t< T > > > > |
Require value type does not satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_all_not_vt_autodiff = require_all_not_t< is_autodiff< value_type_t< std::decay_t< Types > > >... > |
Require none of the value types satisfy is_autodiff. | |
template<typename T > | |
using | stan::require_st_autodiff = require_t< is_autodiff< scalar_type_t< std::decay_t< T > > > > |
Require scalar type satisfies is_autodiff. | |
template<typename T > | |
using | stan::require_not_st_autodiff = require_not_t< is_autodiff< scalar_type_t< std::decay_t< T > > > > |
Require scalar type does not satisfy is_autodiff. | |
template<typename... Types> | |
using | stan::require_any_st_autodiff = require_any_t< is_autodiff< scalar_type_t< std::decay_t< Types > > >... > |
Require any of the scalar types satisfy is_autodiff. | |