39 #ifndef SHARK_LINALG_BLOCKMATRIX2X2_H 40 #define SHARK_LINALG_BLOCKMATRIX2X2_H 61 template <
class Matrix>
75 std::size_t ic =
m_base->size();
76 for (std::size_t i = 0; i < ic; i++)
86 {
return entry(i, j); }
89 QpFloatType
entry(std::size_t i, std::size_t j)
const 98 void row(std::size_t i, std::size_t start,std::size_t end, QpFloatType* storage)
const{
99 for(std::size_t j = start; j < end; j++){
107 blas::matrix_expression<M, blas::cpu_tag> & storage
109 for(std::size_t i = 0; i !=
size(); ++i){
110 for(std::size_t j = 0; j !=
size(); ++j){
111 storage()(i,j) =
entry(i,j);
124 {
return 2 *
m_base->size(); }