Automatic Differentiation
 
Loading...
Searching...
No Matches
any.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/functor/for_each.hpp>
#include <algorithm>

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.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , require_t< std::is_convertible< T, bool > > * = nullptr>
constexpr bool stan::math::any (T x)
 Return true if any values in the input are true.
 
template<typename ContainerT , require_eigen_st< std::is_integral, ContainerT > * = nullptr>
bool stan::math::any (const ContainerT &x)
 Return true if any values in the input are true.
 
template<typename... Types>
bool stan::math::any (const std::tuple< Types... > &x)
 Return true if any values in the input are true.
 
template<typename InnerT >
bool stan::math::any (const std::vector< InnerT > &x)
 Return true if any values in the input are true.