Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ all() [2/4]

template<typename ContainerT , require_eigen_st< std::is_integral, ContainerT > * = nullptr>
bool stan::math::all ( const ContainerT &  x)
inline

Return true if all values in the input are true.

Overload for Eigen types

Template Parameters
ContainerTA type derived from Eigen::EigenBase that has an integral scalar type
Parameters
xEigen object of boolean inputs
Returns
Boolean indicating whether all elements are true

Definition at line 37 of file all.hpp.