OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Functions
SOffset.h File Reference
#include "Index/NDIndex.h"
#include "Utility/PAssert.h"
#include "Message/Message.h"
#include <iostream>
Include dependency graph for SOffset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SOffset< Dim >
 
class  SOffset< Dim >
 
class  DivideSOffsetCopyTag< Dim, Flag >
 
struct  SOffsetAssignOp
 
struct  SOffsetAddAssignOp
 
struct  SOffsetSubAssignOp
 
struct  SOffsetMultAssignOp
 
struct  SOffsetDivAssignOp
 

Functions

template<unsigned Dim>
SOffset< Dimoperator+ (const SOffset< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator+ (const SOffset< Dim > &, const int *)
 
template<unsigned Dim>
SOffset< Dimoperator+ (const int *, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator+ (const NDIndex< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator+ (const SOffset< Dim > &, const NDIndex< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator- (const SOffset< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator- (const SOffset< Dim > &, const int *)
 
template<unsigned Dim>
SOffset< Dimoperator- (const int *, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator- (const NDIndex< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator- (const SOffset< Dim > &, const NDIndex< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator* (const SOffset< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator* (const SOffset< Dim > &, const int *)
 
template<unsigned Dim>
SOffset< Dimoperator* (const int *, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator* (const NDIndex< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator* (const SOffset< Dim > &, const NDIndex< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator/ (const SOffset< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
SOffset< Dimoperator/ (const SOffset< Dim > &, const int *)
 
template<unsigned Dim>
SOffset< Dimoperator/ (const int *, const SOffset< Dim > &)
 
template<unsigned Dim>
NDIndex< Dimoperator/ (const NDIndex< Dim > &, const SOffset< Dim > &)
 
template<unsigned Dim>
SOffset< Dim > & operator- (const SOffset< Dim > &)
 
template<unsigned Dim>
std::ostream & operator<< (std::ostream &, const SOffset< Dim > &)
 
template<class T1 , class T2 , class Op , unsigned int L>
void divide_soffset_op (T1 *p1, T2 *p2, Op op, DivideSOffsetCopyTag< L, 4 >)
 
template<class T1 , class T2 , class Op >
void divide_soffset_op (T1 *p1, T2 *p2, Op op, DivideSOffsetCopyTag< 3, 3 >)
 
template<class T1 , class T2 , class Op >
void divide_soffset_op (T1 *p1, T2 *p2, Op op, DivideSOffsetCopyTag< 2, 2 >)
 
template<class T1 , class T2 , class Op >
void divide_soffset_op (T1 *p1, T2 *p2, Op op, DivideSOffsetCopyTag< 1, 1 >)
 
template<class T1 , class T2 , class Op >
void divide_soffset_op (T1 *, T2 *, Op, DivideSOffsetCopyTag< 0, 0 >)
 
template<unsigned int L>
SOffset< L > operator+ (const SOffset< L > &a, const SOffset< L > &b)
 
template<unsigned int L>
SOffset< L > operator+ (const SOffset< L > &a, const int *b)
 
template<unsigned int L>
SOffset< L > operator+ (const int *b, const SOffset< L > &a)
 
template<unsigned int L>
NDIndex< L > operator+ (const SOffset< L > &a, const NDIndex< L > &b)
 
template<unsigned int L>
NDIndex< L > operator+ (const NDIndex< L > &b, const SOffset< L > &a)
 
template<unsigned int L>
SOffset< L > operator- (const SOffset< L > &a, const SOffset< L > &b)
 
template<unsigned int L>
SOffset< L > operator- (const SOffset< L > &a, const int *b)
 
template<unsigned int L>
SOffset< L > operator- (const int *b, const SOffset< L > &a)
 
template<unsigned int L>
NDIndex< L > operator- (const SOffset< L > &a, const NDIndex< L > &b)
 
template<unsigned int L>
NDIndex< L > operator- (const NDIndex< L > &b, const SOffset< L > &a)
 
template<unsigned int L>
SOffset< L > operator* (const SOffset< L > &a, const SOffset< L > &b)
 
template<unsigned int L>
SOffset< L > operator* (const SOffset< L > &a, const int *b)
 
template<unsigned int L>
SOffset< L > operator* (const int *b, const SOffset< L > &a)
 
template<unsigned int L>
NDIndex< L > operator* (const SOffset< L > &a, const NDIndex< L > &b)
 
template<unsigned int L>
NDIndex< L > operator* (const NDIndex< L > &b, const SOffset< L > &a)
 
template<unsigned int L>
SOffset< L > operator/ (const SOffset< L > &a, const SOffset< L > &b)
 
template<unsigned int L>
SOffset< L > operator/ (const SOffset< L > &a, const int *b)
 
template<unsigned int L>
SOffset< L > operator/ (const int *b, const SOffset< L > &a)
 
template<unsigned int L>
NDIndex< L > operator/ (const NDIndex< L > &b, const SOffset< L > &a)
 
template<unsigned int L>
SOffset< L > & operator- (const SOffset< L > &a)
 

Function Documentation

template<class T1 , class T2 , class Op , unsigned int L>
void divide_soffset_op ( T1 *  p1,
T2 *  p2,
Op  op,
DivideSOffsetCopyTag< L, 4 >   
)
inline
template<class T1 , class T2 , class Op >
void divide_soffset_op ( T1 *  p1,
T2 *  p2,
Op  op,
DivideSOffsetCopyTag< 3, 3 >   
)
inline

Definition at line 350 of file SOffset.h.

template<class T1 , class T2 , class Op >
void divide_soffset_op ( T1 *  p1,
T2 *  p2,
Op  op,
DivideSOffsetCopyTag< 2, 2 >   
)
inline

Definition at line 358 of file SOffset.h.

template<class T1 , class T2 , class Op >
void divide_soffset_op ( T1 *  p1,
T2 *  p2,
Op  op,
DivideSOffsetCopyTag< 1, 1 >   
)
inline

Definition at line 365 of file SOffset.h.

template<class T1 , class T2 , class Op >
void divide_soffset_op ( T1 *  ,
T2 *  ,
Op  ,
DivideSOffsetCopyTag< 0, 0 >   
)
inline

Definition at line 371 of file SOffset.h.

template<unsigned Dim>
SOffset<Dim> operator* ( const SOffset< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
SOffset<Dim> operator* ( const SOffset< Dim > &  ,
const int *   
)
template<unsigned Dim>
SOffset<Dim> operator* ( const int *  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator* ( const NDIndex< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator* ( const SOffset< Dim > &  ,
const NDIndex< Dim > &   
)
template<unsigned int L>
SOffset<L> operator* ( const SOffset< L > &  a,
const SOffset< L > &  b 
)
inline

Definition at line 583 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator* ( const SOffset< L > &  a,
const int *  b 
)
inline

Definition at line 591 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator* ( const int *  b,
const SOffset< L > &  a 
)
inline

Definition at line 599 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator* ( const SOffset< L > &  a,
const NDIndex< L > &  b 
)
inline

Definition at line 607 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator* ( const NDIndex< L > &  b,
const SOffset< L > &  a 
)
inline

Definition at line 617 of file SOffset.h.

template<unsigned Dim>
SOffset<Dim> operator+ ( const SOffset< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
SOffset<Dim> operator+ ( const SOffset< Dim > &  ,
const int *   
)
template<unsigned Dim>
SOffset<Dim> operator+ ( const int *  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator+ ( const NDIndex< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator+ ( const SOffset< Dim > &  ,
const NDIndex< Dim > &   
)
template<unsigned int L>
SOffset<L> operator+ ( const SOffset< L > &  a,
const SOffset< L > &  b 
)
inline

Definition at line 495 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator+ ( const SOffset< L > &  a,
const int *  b 
)
inline

Definition at line 503 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator+ ( const int *  b,
const SOffset< L > &  a 
)
inline

Definition at line 511 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator+ ( const SOffset< L > &  a,
const NDIndex< L > &  b 
)
inline

Definition at line 519 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator+ ( const NDIndex< L > &  b,
const SOffset< L > &  a 
)
inline

Definition at line 529 of file SOffset.h.

template<unsigned Dim>
SOffset<Dim> operator- ( const SOffset< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
SOffset<Dim> operator- ( const SOffset< Dim > &  ,
const int *   
)
template<unsigned Dim>
SOffset<Dim> operator- ( const int *  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator- ( const NDIndex< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator- ( const SOffset< Dim > &  ,
const NDIndex< Dim > &   
)
template<unsigned Dim>
SOffset<Dim>& operator- ( const SOffset< Dim > &  )
template<unsigned int L>
SOffset<L> operator- ( const SOffset< L > &  a,
const SOffset< L > &  b 
)
inline

Definition at line 539 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator- ( const SOffset< L > &  a,
const int *  b 
)
inline

Definition at line 547 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator- ( const int *  b,
const SOffset< L > &  a 
)
inline

Definition at line 555 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator- ( const SOffset< L > &  a,
const NDIndex< L > &  b 
)
inline

Definition at line 563 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator- ( const NDIndex< L > &  b,
const SOffset< L > &  a 
)
inline

Definition at line 573 of file SOffset.h.

template<unsigned int L>
SOffset<L>& operator- ( const SOffset< L > &  a)
inline

Definition at line 666 of file SOffset.h.

template<unsigned Dim>
SOffset<Dim> operator/ ( const SOffset< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
SOffset<Dim> operator/ ( const SOffset< Dim > &  ,
const int *   
)
template<unsigned Dim>
SOffset<Dim> operator/ ( const int *  ,
const SOffset< Dim > &   
)
template<unsigned Dim>
NDIndex<Dim> operator/ ( const NDIndex< Dim > &  ,
const SOffset< Dim > &   
)
template<unsigned int L>
SOffset<L> operator/ ( const SOffset< L > &  a,
const SOffset< L > &  b 
)
inline

Definition at line 627 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator/ ( const SOffset< L > &  a,
const int *  b 
)
inline

Definition at line 635 of file SOffset.h.

template<unsigned int L>
SOffset<L> operator/ ( const int *  b,
const SOffset< L > &  a 
)
inline

Definition at line 643 of file SOffset.h.

template<unsigned int L>
NDIndex<L> operator/ ( const NDIndex< L > &  b,
const SOffset< L > &  a 
)
inline

Definition at line 651 of file SOffset.h.

template<unsigned Dim>
std::ostream & operator<< ( std::ostream &  o,
const SOffset< Dim > &  a 
)
inline

Definition at line 241 of file SOffset.h.

References Dim.