partitions the matrix in 4 blocks defined by one splitting point (i,j). More...
#include <shark/LinAlg/Tools.h>
Public Member Functions | |
Blocking (Matrix &matrix, std::size_t i, std::size_t j) | |
matrix_range< Matrix > const & | upperLeft () const |
Returns the lower left block of the matrix. More... | |
matrix_range< Matrix > const & | upperRight () const |
Returns the upper right block of the matrix. More... | |
matrix_range< Matrix > const & | lowerLeft () const |
Returns the lower left block of the matrix. More... | |
matrix_range< Matrix > const & | lowerRight () const |
Returns the lower right block of the matrix. More... | |
matrix_range< Matrix > & | upperLeft () |
Returns the lower left block of the matrix. More... | |
matrix_range< Matrix > & | upperRight () |
Returns the upper right block of the matrix. More... | |
matrix_range< Matrix > & | lowerLeft () |
Returns the lower left block of the matrix. More... | |
matrix_range< Matrix > & | lowerRight () |
Returns the lower right block of the matrix. More... | |
partitions the matrix in 4 blocks defined by one splitting point (i,j).
the blocks are defined using the intervals [0,...,i), [i,...,mat.size1()] and [0,...,j), [j,...,mat.size2()]
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |