Automatic Differentiation
 
Loading...
Searching...
No Matches
all.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::all (T x)
 Return true if all values in the input are true.
 
template<typename ContainerT , require_eigen_st< std::is_integral, ContainerT > * = nullptr>
bool stan::math::all (const ContainerT &x)
 Return true if all values in the input are true.
 
template<typename... Types>
bool stan::math::all (const std::tuple< Types... > &x)
 Return true if all values in the input are true.
 
template<typename InnerT >
bool stan::math::all (const std::vector< InnerT > &x)
 Return true if all values in the input are true.