Automatic Differentiation
 
Loading...
Searching...
No Matches
sd.hpp File Reference
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/typedefs.hpp>
#include <stan/math/prim/fun/inv_sqrt.hpp>
#include <cmath>
#include <vector>

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 T , require_eigen_st< is_var, T > * = nullptr>
var stan::math::sd (const T &x)
 Return the sample standard deviation of a variable which inherits from EigenBase.
 
template<typename T , require_std_vector_st< is_var, T > * = nullptr>
auto stan::math::sd (const T &m)
 Return the sample standard deviation of the specified std vector, column vector, row vector, matrix, or std vector of any of these types.