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

◆ min() [2/2]

template<typename T , require_container_t< T > * = nullptr>
value_type_t< T > stan::math::min ( const T &  m)
inline

Returns the minimum coefficient in the specified matrix, vector, row vector or std vector.

Template Parameters
Ttype of elements in the container
Parameters
mspecified matrix, vector, row vector or std vector
Returns
mainimum coefficient value in the container, or infinity if the container is size zero and the scalar type in container is floating point number
Exceptions
<code>std::invalid_argument</code>if the vector is size zero and the scalar type in the container is integer

Definition at line 41 of file min.hpp.