Automatic Differentiation
 
Loading...
Searching...
No Matches
is_container.hpp File Reference

Go to the source code of this file.

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 Container >
using stan::is_container = bool_constant< math::disjunction< is_eigen< Container >, is_std_vector< Container > >::value >
 Deduces whether type is eigen matrix or standard vector.
 
template<typename T >
using stan::require_container_t = require_t< is_container< std::decay_t< T > > >
 Require type satisfies is_container.
 
template<typename T >
using stan::require_not_container_t = require_not_t< is_container< std::decay_t< T > > >
 Require type does not satisfy is_container.
 
template<typename... Types>
using stan::require_all_container_t = require_all_t< is_container< std::decay_t< Types > >... >
 Require all of the types satisfy is_container.
 
template<typename... Types>
using stan::require_any_container_t = require_any_t< is_container< std::decay_t< Types > >... >
 Require any of the types satisfy is_container.
 
template<typename... Types>
using stan::require_all_not_container_t = require_all_not_t< is_container< std::decay_t< Types > >... >
 Require none of the types satisfy is_container.
 
template<template< class... > class TypeCheck, class... Check>
using stan::require_container_st = require_t< container_type_check_base< is_container, scalar_type_t, TypeCheck, Check... > >
 Require type satisfies is_container.
 
template<template< class... > class TypeCheck, class... Check>
using stan::require_not_container_st = require_not_t< container_type_check_base< is_container, scalar_type_t, TypeCheck, Check... > >
 Require type does not satisfy is_container.