STK++ 0.9.13
|
The STKernel project is the low-level core library that forms the basis of the project. More...
Modules | |
Fundamental data types | |
In this subproject we define the fundamental types. | |
Functors | |
In the Functors subproject, we implement the main functors that can be used throughout the STK++ project, especially in the Arrays project. | |
Classes | |
struct | STK::hidden::Promote< Type, Type > |
Specialization when we have the same type. More... | |
class | STK::RangeBase< Derived > |
Base class for TRange class. More... | |
class | STK::TRange< Size_ > |
Index sub-vector region with fixed size. More... | |
class | STK::TRange< UnknownSize > |
Index sub-vector region: Specialization when the size is unknown. More... | |
Functions | |
template<int SizeI_, int SizeJ_> | |
Range | STK::sup (TRange< SizeI_ > const &I, TRange< SizeJ_ > const &J) |
compute sup(I,J). | |
template<int SizeI_, int SizeJ_> | |
Range | STK::inf (TRange< SizeI_ > const &I, TRange< SizeJ_ > const &J) |
compute inf(I,J). | |
template<int SizeI_> | |
Range | STK::incFirst (TRange< SizeI_ > const &I) |
if I=a:b, return a+1:b | |
template<int SizeI_> | |
Range | STK::incLast (TRange< SizeI_ > const &I) |
if I=a:b, return a:b+1 | |
template<int SizeI_> | |
Range | STK::decFirst (TRange< SizeI_ > const &I) |
if I=a:b, return a-1:b | |
template<int SizeI_> | |
Range | STK::decLast (TRange< SizeI_ > const &I) |
if I=a:b, return a:b-1 | |
The STKernel project is the low-level core library that forms the basis of the project.
It provides data class handling for C++. It contains the sub-projects:
if I=a:b, return a-1:b
Definition at line 498 of file STK_Range.h.
if I=a:b, return a:b-1
Definition at line 505 of file STK_Range.h.
Referenced by STK::IArray1D< Derived >::erase(), and STK::IArray1D< Derived >::popBack().
if I=a:b, return a+1:b
Definition at line 484 of file STK_Range.h.
if I=a:b, return a:b+1
Definition at line 491 of file STK_Range.h.
Referenced by STK::IArray1D< Derived >::insertElt().
compute inf(I,J).
Take the largest value of I.begin() and J.begin() for begin and the lowest value of I.end() and J.end() for end.
I,J | the first and second Range |
Definition at line 477 of file STK_Range.h.
Referenced by STK::IArray2D< Derived >::col(), STK::hidden::MultCoefImpl< Lhs, Rhs, Result >::dot(), STK::hidden::MultCoefImpl< Lhs, Rhs, Result >::dot(), STK::hidden::MultCoefImpl< Lhs, Rhs, Result >::dot(), STK::IArray2D< Derived >::IArray2D(), STK::Arrays::SumOp< Lhs, Rhs >::operator()(), STK::Arrays::DifferenceOp< Lhs, Rhs >::operator()(), STK::Arrays::Product< Lhs, Rhs >::operator()(), STK::Arrays::DivOp< Lhs, Rhs >::operator()(), STK::MemAllocator< Type_, Size_ >::realloc(), STK::hidden::MemHandler< Type_, UnknownSize >::realloc(), and STK::IArray2D< Derived >::row().