Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Typedefs
is_var_or_arithmetic.hpp File Reference
#include <stan/math/prim/scal/meta/is_var.hpp>
#include <stan/math/prim/scal/meta/scalar_type.hpp>
#include <stan/math/prim/scal/meta/conjunction.hpp>
#include <type_traits>

Go to the source code of this file.

Classes

struct  stan::is_var_or_arithmetic_type< T >
 Defines a public enum named value which is defined to be true (1) if the type is either var or an aritmetic type and false (0) otherwise. More...
 

Namespaces

 stan
 

Typedefs

template<typename... T>
using stan::is_var_or_arithmetic = math::conjunction< is_var_or_arithmetic_type< T >... >
 Extends std::true_type if all the provided types are either var or an arithmetic type, extends std::false_type otherwise. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.