Automatic Differentiation
 
Loading...
Searching...
No Matches
check_unit_vector.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.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename Vec , require_vector_t< Vec > * = nullptr, require_not_std_vector_t< Vec > * = nullptr>
void stan::math::check_unit_vector (const char *function, const char *name, const Vec &theta)
 Throw an exception if the specified vector does not have unit Euclidiean length.
 
template<typename StdVec , require_std_vector_t< StdVec > * = nullptr>
void stan::math::check_unit_vector (const char *function, const char *name, const StdVec &theta)
 Throw an exception if the each element in a standard vector does not have unit Euclidiean length.