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

◆ std_normal_log() [1/2]

template<bool propto, typename T_y >
return_type_t< T_y > stan::math::std_normal_log ( const T_y &  y)

The log of a standard normal density for the specified scalar(s).

y can be either a scalar or a vector.

The result log probability is defined to be the sum of the log probabilities for each observation.

Deprecated:
use std_normal_lpdf
Template Parameters
T_yUnderlying type of scalar in sequence.
Parameters
y(Sequence of) scalar(s).
Returns
The log of the product of the densities.
Exceptions
std::domain_errorif any scalar is nan.

Definition at line 25 of file std_normal_log.hpp.