![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <stan/math/matrix/Eigen.hpp>#include <stan/math/error_handling/matrix/check_vector.hpp>#include <stan/math/error_handling/matrix/check_matching_sizes.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| Probability, optimization and sampling library. | |
| stan::math | |
| Matrices and templated mathematical functions. | |
Functions | |
| template<int R1, int C1, int R2, int C2, typename T1 , typename T2 > | |
| boost::math::tools::promote_args < T1, T2 >::type | stan::math::squared_distance (const Eigen::Matrix< T1, R1, C1 > &v1, const Eigen::Matrix< T2, R2, C2 > &v2) |
| Returns the squared distance between the specified vectors. More... | |