![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
#include <stan/math/prim/mat/fun/Eigen.hpp>#include <stan/math/prim/mat/err/check_vector.hpp>#include <stan/math/prim/mat/err/check_matching_sizes.hpp>#include <stan/math/fwd/core/operator_subtraction.hpp>#include <stan/math/fwd/mat/fun/dot_self.hpp>#include <stan/math/fwd/mat/fun/to_fvar.hpp>#include <stan/math/prim/mat/fun/subtract.hpp>Go to the source code of this file.
Namespaces | |
| stan | |
| stan::math | |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T , int R, int C> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< stan::math::fvar< T >, R, C > &v1, const Eigen::Matrix< double, R, C > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |
| template<typename T , int R1, int C1, int R2, int C2> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< stan::math::fvar< T >, R1, C1 > &v1, const Eigen::Matrix< double, R2, C2 > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |
| template<typename T , int R, int C> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< double, R, C > &v1, const Eigen::Matrix< stan::math::fvar< T >, R, C > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |
| template<typename T , int R1, int C1, int R2, int C2> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< double, R1, C1 > &v1, const Eigen::Matrix< stan::math::fvar< T >, R2, C2 > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |
| template<typename T , int R, int C> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< stan::math::fvar< T >, R, C > &v1, const Eigen::Matrix< stan::math::fvar< T >, R, C > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |
| template<typename T , int R1, int C1, int R2, int C2> | |
| stan::math::fvar< T > | stan::math::squared_distance (const Eigen::Matrix< stan::math::fvar< T >, R1, C1 > &v1, const Eigen::Matrix< stan::math::fvar< T >, R2, C2 > &v2) |
| Returns the squared distance between the specified vectors of the same dimensions. More... | |