Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Returns the squared distance.
T_a | type of the first kernel generator expression |
T_b | type of the second kernel generator expression |
a | first kernel generator expression |
b | second kernel generator expression |
std::domain_error | If the matrices are not the same size |
Definition at line 30 of file squared_distance.hpp.