Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
squared_distance.hpp File Reference
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/mat/err/check_vector.hpp>
#include <stan/math/prim/arr/err/check_matching_sizes.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <vector>

Go to the source code of this file.

Classes

class  stan::math::internal::squared_distance_vv_vari
 
class  stan::math::internal::squared_distance_vd_vari
 

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 
 stan::math::internal
 

Functions

template<int R1, int C1, int R2, int C2>
var stan::math::squared_distance (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
var stan::math::squared_distance (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< double, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
var stan::math::squared_distance (const Eigen::Matrix< double, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.