Sub-block type. More...
Public Member Functions | |
Block (msType &matrix) | |
Construct for the given matrix. More... | |
template<class Form2 > | |
void | operator= (const MatrixSpace< Form2, Cmpt, SubTensor::mRows, SubTensor::nCols > &matrix) |
Assignment to a matrix. More... | |
template<class VSForm > | |
void | operator= (const VectorSpace< VSForm, Cmpt, SubTensor::mRows > &v) |
Assignment to a column vector. More... | |
SubTensor | operator() () const |
Construct and return the sub-tensor corresponding to this block. More... | |
const Cmpt & | operator() (const direction i, const direction j) const |
(i, j) const element access operator More... | |
Cmpt & | operator() (const direction i, const direction j) |
(i, j) element access operator More... | |
Static Public Member Functions | |
static direction | m () |
Return the number of rows in the block. More... | |
static direction | n () |
Return the number of columns in the block. More... | |
Static Public Attributes | |
static const direction | mRows = SubTensor::mRows |
static const direction | nCols = SubTensor::nCols |
Sub-block type.
Definition at line 138 of file MatrixSpace.H.
Construct for the given matrix.
Definition at line 110 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::mRows, MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::mRows, MatrixSpace< Form, Cmpt, Mrows, Ncols >::nCols, and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::nCols.
|
inlinestatic |
Return the number of rows in the block.
Definition at line 149 of file MatrixSpace.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::mRows.
|
inlinestatic |
Return the number of columns in the block.
Definition at line 155 of file MatrixSpace.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::block(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::elmt(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::MatrixSpace(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::nCols, VectorSpace< Form, Cmpt, Mrows *Ncols >::operator, MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::operator()(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::operator=(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::T(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::xx(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::xy(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::xz(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::yx(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::yy(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::yz(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::zx(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::zy(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::zz().
|
inline |
Assignment to a matrix.
Definition at line 493 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::mRows, MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::nCols, VectorSpace< Form, Cmpt, Mrows *Ncols >::operator, and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator()().
|
inline |
Assignment to a column vector.
Definition at line 514 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::nCols, MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator()(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::T().
|
inline |
Construct and return the sub-tensor corresponding to this block.
Definition at line 405 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::operator()().
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=(), MatrixSpace< Tensor< scalar >, scalar, 3, 3 >::operator=(), and MatrixSpace< Tensor< scalar >, scalar, 3, 3 >::T().
(i, j) const element access operator
Definition at line 426 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::operator()().
(i, j) element access operator
Definition at line 437 of file MatrixSpaceI.H.
|
static |
Definition at line 145 of file MatrixSpace.H.
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::Block(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=().
|
static |
Definition at line 146 of file MatrixSpace.H.
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::Block(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=().