|
SHOGUN
4.1.0
|
Specialization of generic colwise_sum which works with SGMatrix and uses Eigen3 as backend for computing sum.
Public Types | |
| typedef Matrix::Scalar | T |
| typedef SGVector< T > | ReturnType |
| typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | MatrixXt |
| typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > | VectorXt |
Static Public Member Functions | |
| static SGVector< T > | compute (SGMatrix< T > m, bool no_diag) |
| static SGVector< T > | compute (Block< SGMatrix< T > > b, bool no_diag) |
| static void | compute (SGMatrix< T > mat, SGVector< T > result, bool no_diag) |
| static void | compute (Block< SGMatrix< T > > b, SGVector< T > result, bool no_diag) |
| typedef Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic> MatrixXt |
| typedef SGVector<T> ReturnType |
| typedef Eigen::Matrix<T,Eigen::Dynamic,1> VectorXt |
Method that computes the column wise sum of co-efficients of SGMatrix using Eigen3
| m | the matrix whose colwise sum of co-efficients has to be computed |
| no_diag | if true, diagonal entries are excluded from the sum |
Method that computes the column wise sum of co-efficients of SGMatrix blocks using Eigen3
| b | the matrix-block whose colwise sum of co-efficients has to be computed |
| no_diag | if true, diagonal entries are excluded from the sum |
Method that computes the column wise sum of co-efficients of SGMatrix using Eigen3
| m | the matrix whose colwise 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 |
Method that computes the column wise sum of co-efficients of SGMatrix blocks using Eigen3
| b | the matrix-block whose colwise 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 |