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

◆ squared_distance() [2/11]

template<typename T_a , typename T_b , require_all_nonscalar_prim_or_rev_kernel_expression_t< T_a, T_b > * = nullptr, require_any_var_t< T_a, T_b > * = nullptr>
var_value< double > stan::math::squared_distance ( T_a &&  a,
T_b &&  b 
)
inline

Returns the squared distance.

Template Parameters
T_atype of first expression
T_btype of second expression
Parameters
afirst expression
bsecond expression
Returns
the squared distance of the input.

Definition at line 32 of file squared_distance.hpp.