SHOGUN
4.2.0
|
Specialization of squared_error for the Eigen3 backend
Definition at line 542 of file implementation/SpecialPurpose.h.
Public Types | |
typedef Matrix::Scalar | T |
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | MatrixXt |
Static Public Member Functions | |
static T | compute (SGMatrix< T > P, SGMatrix< T > Q) |
typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt |
Eigen matrix type
Definition at line 548 of file implementation/SpecialPurpose.h.
typedef Matrix::Scalar T |
Scalar type
Definition at line 545 of file implementation/SpecialPurpose.h.
Returns the squared error between P and Q. The squared error is defined as \( E(P,Q) = \frac{1}{2} \sum_{ij} (P[i,j]-Q[i,j])^2 \)
Definition at line 553 of file implementation/SpecialPurpose.h.