Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
is_unit_vector.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/arr/err/is_nonzero_size.hpp>
#include <stan/math/prim/mat/err/constraint_tolerance.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_prob >
bool stan::math::is_unit_vector (const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta)
 Return true if the vector is not a unit vector or if any element is NaN. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.