Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Compute the squared distance between the elements in two inputs.
This overload handles arguments where one of T1 or T2 are var_value<T>
where T
is an Eigen type. The other type can also be a var_value
or it can be a matrix type that inherits from EigenBase
T1 | type of first argument |
T2 | type of second argument |
A | first argument |
B | second argument |
Definition at line 157 of file squared_distance.hpp.