Feel++  0.91.4
Public Types | Public Member Functions | Static Public Attributes
Feel::MatrixBlock< NR, NC, T > Class Template Reference

block of matrices More...

#include <matrixblock.hpp>

Inheritance diagram for Feel::MatrixBlock< NR, NC, T >:
Feel::MatrixBlockBase< T > Feel::MatrixSparse< T >

List of all members.

Public Types

typedef super_type::value_type value_type
typedef super_type::matrix_ptrtype matrix_ptrtype
typedef super_type::backend_type backend_type
typedef vf::Blocks< NBLOCKROWS,
NBLOCKCOLS, matrix_ptrtype > 
blocks_type

Public Member Functions

 MatrixBlock (blocks_type const &blockSet, backend_type &backend, bool copy_values=true, bool diag_is_nonzero=true)
 MatrixBlock (MatrixBlock const &mb)
MatrixBlock operator= (MatrixBlock const &mb)
MatrixBlockoperator= (matrix_ptrtype const &M)

Static Public Attributes

static const uint16_type NBLOCKROWS = NR
static const uint16_type NBLOCKCOLS = NC
static const uint16_type NBLOCKSIZE = NR * NC

Detailed Description

template<int NR, int NC, typename T>
class Feel::MatrixBlock< NR, NC, T >

block of matrices

auto myBlocks = Blocks<2,2,double>()<< A11 << A12 << A21 << A22;

auto A = backend->newBlockMatrix(myBlocks);

Author:
Vincent Chabannes