Generic class which is specialized for different backends to perform the squared_error operation
在文件 implementation/SpecialPurpose.h 第 543 行定义.
Public 类型 | |
typedef Matrix::Scalar | T |
静态 Public 成员函数 | |
static T | compute (Matrix P, Matrix Q) |
typedef Matrix::Scalar T |
Scalar type
在文件 implementation/SpecialPurpose.h 第 546 行定义.
|
static |
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 \)