|
var | stan::math::squared_distance (const var &a, const var &b) |
| Returns the squared distance.
|
|
var | stan::math::squared_distance (const var &a, double b) |
| Returns the squared distance.
|
|
var | stan::math::squared_distance (double a, const var &b) |
| Returns the squared distance.
|
|
template<typename EigVecVar1 , typename EigVecVar2 , require_all_eigen_vector_vt< is_var, EigVecVar1, EigVecVar2 > * = nullptr> |
var | stan::math::squared_distance (const EigVecVar1 &v1, const EigVecVar2 &v2) |
|
template<typename EigVecVar , typename EigVecArith , require_eigen_vector_vt< is_var, EigVecVar > * = nullptr, require_eigen_vector_vt< std::is_arithmetic, EigVecArith > * = nullptr> |
var | stan::math::squared_distance (const EigVecVar &v1, const EigVecArith &v2) |
|
template<typename EigVecArith , typename EigVecVar , require_eigen_vector_vt< std::is_arithmetic, EigVecArith > * = nullptr, require_eigen_vector_vt< is_var, EigVecVar > * = nullptr> |
var | stan::math::squared_distance (const EigVecArith &v1, const EigVecVar &v2) |
|
template<typename T1 , typename T2 , require_all_vector_t< T1, T2 > * = nullptr, require_any_var_vector_t< T1, T2 > * = nullptr> |
var | stan::math::squared_distance (const T1 &A, const T2 &B) |
| Compute the squared distance between the elements in two inputs.
|
|