SHOGUN
4.2.0
|
Generic class sum which provides a static compute method. This class is specialized for different types of matrices and backend, providing a means to deal with various matrices directly without having to convert.
Public Types | |
typedef Matrix::Scalar | T |
Static Public Member Functions | |
static T | compute (Matrix m, bool no_diag) |
static T | compute (Block< Matrix > b, bool no_diag) |
|
static |
Method that computes the sum of co-efficients of a dense matrix
m | 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 dense matrix blocks
b | the matrix-block whose sum of co-efficients has to be computed |
no_diag | if true, diagonal entries are excluded from the sum |