SHOGUN
4.2.0
|
Generic class rowwise_mean which provides a static compute method.
Definition at line 117 of file MeanEigen3.h.
Public Types | |
typedef Matrix::Scalar | T |
typedef int2float< T >::floatType | ReturnDataType |
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 int2float<T>::floatType ReturnDataType |
int2float type
Definition at line 123 of file MeanEigen3.h.
typedef Matrix::Scalar T |
Scalar type
Definition at line 120 of file MeanEigen3.h.
|
static |
Method that computes the row wise sum of co-efficients of SGMatrix using Eigen3
m | the matrix whose rowwise sum of co-efficients has to be computed |
no_diag | if true, diagonal entries are excluded from the sum |
|
static |
Method that computes the row wise sum of co-efficients of SGMatrix using Eigen3
mat | the matrix whose rowwise sum of co-efficients has to be computed |
no_diag | if true, diagonal entries are excluded from the sum |
result | Pre-allocated vector for the result of the computation |