SHOGUN
4.2.0
|
Specialization of generic mean which works with SGMatrix and uses Eigen3 as backend for computing rowwise mean.
Definition at line 207 of file MeanEigen3.h.
Public Types | |
typedef Matrix::Scalar | T |
typedef int2float< T >::floatType | ReturnDataType |
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | MatrixXt |
Static Public Member Functions | |
static SGVector< ReturnDataType > | compute (SGMatrix< T > m, bool no_diag) |
static void | compute (SGMatrix< T > mat, SGVector< ReturnDataType > result, bool no_diag) |
typedef Eigen::Matrix<T,Eigen::Dynamic, Eigen::Dynamic> MatrixXt |
Eigen matrix type
Definition at line 216 of file MeanEigen3.h.
typedef int2float<T>::floatType ReturnDataType |
int2float type
Definition at line 213 of file MeanEigen3.h.
typedef Matrix::Scalar T |
Scalar type
Definition at line 210 of file MeanEigen3.h.
|
static |
Method that computes the rowwise mean of SGMatrix using Eigen3
m | the matrix whose rowwise mean has to be computed |
no_diag | if true, diagonal entries are excluded from the mean |
Definition at line 225 of file MeanEigen3.h.
|
static |
Method that computes the rowwise mean of SGMatrix using Eigen3
mat | the matrix whose rowwise mean has to be computed |
no_diag | if true, diagonal entries are excluded from the mean |
result | Pre-allocated vector for the result of the computation |
Definition at line 239 of file MeanEigen3.h.