C++
C#
VB
JScript
All

# square_error

Copyright (C) 2005 IENT-RWTH Aachen

template<class G1,class G2> inline typename promotion2_traits<typename Vector<G1>::const_value_type,typename Vector<G2>::const_value_type>::value_type square_error(const Vector<G1> &X, const Vector<G2> &Y)
template<class G1,class G2> inline typename promotion2_traits<typename Matrix<G1>::const_value_type,typename Matrix<G2>::const_value_type>::value_type square_error(const Matrix<G1> &X, const Matrix<G2> &Y)

Sum of the squared differences