|
STK++ 0.9.13
|
Generic expression when the sub-part of an expression is accessed (specialization for vectors) More...
#include <STK_SlicingOperators.h>

Public Types | |
| enum | { structure_ = hidden::Traits< SubVectorOperator<Lhs, Size_> >::structure_ , orient_ = hidden::Traits< SubVectorOperator<Lhs, Size_> >::orient_ , sizeRows_ = hidden::Traits< SubVectorOperator<Lhs, Size_> >::sizeRows_ , sizeCols_ = hidden::Traits< SubVectorOperator<Lhs, Size_> >::sizeCols_ , storage_ = hidden::Traits< SubVectorOperator<Lhs, Size_> >::storage_ } |
| typedef hidden::Traits< SubVectorOperator< Lhs, Size_ > >::Type | Type |
| typedef hidden::Traits< SubVectorOperator< Lhs, Size_ > >::TypeConst | TypeConst |
| typedef SubVectorOperatorBase< Lhs, Size_, structure_ > | Base |
| typedef TRange< sizeRows_ > | RowRange |
| Type of the Range for the rows. | |
| typedef TRange< sizeCols_ > | ColRange |
| Type of the Range for the columns. | |
Public Member Functions | |
| SubVectorOperator (Lhs const &lhs, TRange< Size_ > const &I) | |
| constructor | |
| Lhs const & | lhs () const |
| TypeConst | elt2Impl (int i, int j) const |
| TypeConst | elt1Impl (int i) const |
| TypeConst | elt0Impl () const |
| accesses to the element | |
Protected Member Functions | |
| Type & | elt2Impl (int i, int j) |
| Type & | elt1Impl (int i) |
| Type & | elt0Impl () |
| accesses to the element | |
Protected Attributes | |
| Lhs const & | lhs_ |
Additional Inherited Members | |
Static Public Member Functions inherited from STK::TRef< 1 > | |
| static bool | isRef () |
Generic expression when the sub-part of an expression is accessed (specialization for vectors)
| Lhs | the type of the array or expression to which we are applying the sub operator. |
This class represents an expression where a subVectorAccessor is applied to an array expression. It is the return type of the sub(Range I) operation.
Most of the time, this is the only way that it is used, so you typically don't have to name SubVectorOperator type explicitly.
| Lhs | the type of the array or expression to which we are applying the sub operator. |
This class represents an expression where a subVectorOperator is applied to an array expression. It is the return type of the sub(Range I) operation.
Most of the time, this is the only way that it is used, so you typically don't have to name SubVectorOperator type explicitly.
Definition at line 284 of file STK_SlicingOperators.h.
| typedef SubVectorOperatorBase<Lhs, Size_, structure_> STK::SubVectorOperator< Lhs, Size_ >::Base |
Definition at line 300 of file STK_SlicingOperators.h.
Type of the Range for the columns.
Definition at line 305 of file STK_SlicingOperators.h.
Type of the Range for the rows.
Definition at line 303 of file STK_SlicingOperators.h.
| typedef hidden::Traits<SubVectorOperator<Lhs,Size_>>::Type STK::SubVectorOperator< Lhs, Size_ >::Type |
Definition at line 290 of file STK_SlicingOperators.h.
| typedef hidden::Traits<SubVectorOperator<Lhs,Size_>>::TypeConst STK::SubVectorOperator< Lhs, Size_ >::TypeConst |
Definition at line 291 of file STK_SlicingOperators.h.
| Enumerator | |
|---|---|
| structure_ | |
| orient_ | |
| sizeRows_ | |
| sizeCols_ | |
| storage_ | |
Definition at line 292 of file STK_SlicingOperators.h.
|
inline |
constructor
Definition at line 308 of file STK_SlicingOperators.h.
|
inlineprotected |
|
inline |
|
inlineprotected |
| i | element index |
Definition at line 330 of file STK_SlicingOperators.h.
|
inline |
| i | element index |
Definition at line 318 of file STK_SlicingOperators.h.
| i,j | row and column indexes |
Definition at line 326 of file STK_SlicingOperators.h.
| i,j | row and column indexes |
Definition at line 314 of file STK_SlicingOperators.h.
|
inline |
Definition at line 335 of file STK_SlicingOperators.h.