SHOGUN
4.2.0
|
Specialization of generic sum symmetric which works with SGMatrix and uses Eigen3 as backend for computing sum.
Public Types | |
typedef Matrix::Scalar | T |
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | MatrixXt |
Static Public Member Functions | |
static T | compute (SGMatrix< T > mat, bool no_diag) |
static T | compute (Block< SGMatrix< T > > b, bool no_diag) |
typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt |
Method that computes the sum of co-efficients of symmetric SGMatrix using Eigen3
mat | the matrix whose sum of co-efficients has to be computed |
no_diag | if true, diagonal entries are excluded from the sum |
Method that computes the sum of co-efficients of symmetric SGMatrix blocks using Eigen3
b | the matrix-block whose sum of co-efficients has to be computed |
no_diag | if true, diagonal entries are excluded from the sum |