STK++ 0.9.13
STK_ArrayBase.h File Reference

In this file we define the base class for Arrays. More...

Include dependency graph for STK_ArrayBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  STK::ArrayBase< Derived >
 base class for template arrays. More...
 

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.
 

Macros

#define MAKE_RESHAPE_OPERATOR(OPERATOR, SHAPE)
 utility macro allowing to construct unary operators
 

Detailed Description

In this file we define the base class for Arrays.

Derived ArrayBase can be a lhs

Definition in file STK_ArrayBase.h.

Macro Definition Documentation

◆ MAKE_RESHAPE_OPERATOR

#define MAKE_RESHAPE_OPERATOR (   OPERATOR,
  SHAPE 
)
Value:
inline OPERATOR##Operator< Derived> const SHAPE() const \
{ return OPERATOR##Operator< Derived>(this->asDerived()); } \
inline OPERATOR##Accessor< Derived> SHAPE() \
{ return OPERATOR##Accessor< Derived>(this->asDerived()); }

utility macro allowing to construct unary operators

Definition at line 45 of file STK_ArrayBase.h.

47 { return OPERATOR##Operator< Derived>(this->asDerived()); } \
48 inline OPERATOR##Accessor< Derived> SHAPE() \
49 { return OPERATOR##Accessor< Derived>(this->asDerived()); }