Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
sd.hpp File Reference
#include <vector>
#include <boost/math/tools/promotion.hpp>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/matrix/variance.hpp>
#include <stan/math/matrix/validate_nonzero_size.hpp>

Go to the source code of this file.

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T >
boost::math::tools::promote_args
< T >::type 
stan::math::sd (const std::vector< T > &v)
 Returns the unbiased sample standard deviation of the coefficients in the specified column vector.
 
template<typename T , int R, int C>
boost::math::tools::promote_args
< T >::type 
stan::math::sd (const Eigen::Matrix< T, R, C > &m)
 Returns the unbiased sample standard deviation of the coefficients in the specified vector, row vector, or matrix.
 

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