SHOGUN
4.2.0
|
Specialization of generic mean which works with SGVector and SGMatrix and uses Eigen3 as backend for computing mean.
Definition at line 149 of file MeanEigen3.h.
Public Types | |
typedef Matrix::Scalar | T |
typedef int2float< T >::floatType | ReturnType |
Static Public Member Functions | |
static ReturnType | compute (SGVector< T > vec) |
static ReturnType | compute (SGMatrix< T > mat, bool no_diag=false) |
typedef int2float<T>::floatType ReturnType |
int2float type
Definition at line 155 of file MeanEigen3.h.
typedef Matrix::Scalar T |
Scalar type
Definition at line 152 of file MeanEigen3.h.
|
static |
Method that computes the mean of SGVectors using Eigen3
vec | a vector whose mean has to be computed |
Definition at line 163 of file MeanEigen3.h.
|
static |
Method that computes the mean of SGMatrix using Eigen3
a | matrix whose mean has to be computed |
no_diag | if true, diagonal entries are excluded from the mean (default - false) |
Definition at line 177 of file MeanEigen3.h.