DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Classes | Namespaces | Macros
utlNDArray.h File Reference
#include <numeric>
#include "utlSTDHeaders.h"
#include "utlCore.h"
#include "utlCoreMacro.h"
#include "utlBlas.h"
#include "utlExpression.h"
#include "utlTypeinfo.h"
#include "utlFunctors.h"
#include "utlNDArrayFunctions.h"
#include "utlVector.h"
#include "utlMatrix.h"
#include "utl4thOrderTensor.h"
+ Include dependency graph for utlNDArray.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utl::NDArrayBase< T, Dim >::ConstReverseIterator
 
class  utl::NDArray< T, Dim >
 
class  utl::NDArray< T, Dim >
 
class  utl::NDArrayBase< T, Dim >
 
class  utl::NDArrayBase< T, Dim >
 
class  utl::NDArrayBase< T, Dim >::ReverseIterator
 

Namespaces

 utl
 

Macros

#define __Array_Saver_Expr(saver, saverReal)
 
#define __utl_ndarray_alloc_blah(shape)
 
template<class T >
using utl::Vector = NDArray< T, 1 >
 
template<class T >
using utl::Matrix = NDArray< T, 2 >
 

Detailed Description

Author
Jian Cheng (JC), jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om

Definition in file utlNDArray.h.

Macro Definition Documentation

#define __Array_Saver_Expr (   saver,
  saverReal 
)
Value:
template<typename EType> \
UTL_ALWAYS_INLINE NDArrayBase<T,Dim>& operator saver (const Expr<EType, typename EType::ValueType>& src){ \
auto srcDim = Expr<EType, typename EType::ValueType>::GetDimension(); \
utlSAGlobalException(srcDim>0 && srcDim!=Dimension) \
(srcDim)(Dimension).msg("the expression has a difference size"); \
const EType &r = src.ConstRef(); \
const ShapeType rShape = r.GetShape(); \
if (srcDim>0) \
this->ReSize(rShape); \
for( int i=0; i < this->Size(); ++i ) \
this->m_Data[i] saverReal r.Eval(i); \
return *this; \
}
#define utlSAGlobalException(expr)
Definition: utlCoreMacro.h:362
#define UTL_ALWAYS_INLINE
Definition: utlCoreMacro.h:76

Definition at line 369 of file utlNDArray.h.