Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta/bool_constant.hpp>
#include <stan/math/prim/meta/conjunction.hpp>
#include <stan/math/prim/meta/is_vector.hpp>
#include <stan/math/prim/meta/is_eigen.hpp>
#include <stan/math/prim/meta/scalar_type.hpp>
#include <stan/math/prim/meta/value_type.hpp>
#include <stan/math/prim/meta/require_generics.hpp>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Classes | |
struct | stan::is_constant< T, typename > |
Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the C++ const sense). More... | |
struct | stan::is_constant< T, require_std_vector_t< T > > |
Defines a static member named value and sets it to true if the type of the elements in the provided std::vector is constant, false otherwise. More... | |
struct | stan::is_constant< T, require_eigen_t< T > > |
Defines a public enum named value and sets it to true if the type of the elements in the provided Eigen Matrix is constant, false otherwise. 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::is_constant_all = math::conjunction< is_constant< T >... > |
Metaprogram defining an enum value which is true if all of the type parameters are constant (i.e., primitive types) and false otherwise. | |