Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ sd() [4/5]

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.

Return the sample standard deviation of the var_value matrix.

Template Parameters
TInput type
Parameters
[in]xinput
Returns
sample standard deviation
Exceptions
domainerror size is not greater than zero.
Template Parameters
TInput type
Parameters
[in]xinput matrix
Returns
sample standard deviation of specified matrix
Exceptions
domainerror size is not greater than zero.

Definition at line 28 of file sd.hpp.