Loading [MathJax]/jax/output/HTML-CSS/config.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
sd.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 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.