FreePOOMA  2.4.1
Static Public Member Functions
SplitDomainSingle< T, Dim, strided > Struct Template Reference

SplitDomainSingle<T,Dim,bool strided>::split(a,b,c) splits just the Dim dimension of the first argument into the second and third argument. More...

#include <Split.h>

List of all members.

Static Public Member Functions

static void split (const T &a, int axis, T &b, T &c)
static void split (const T &a, int axis, int leftLength, T &b, T &c)
static void split (const T &a, T &b, T &c)

Detailed Description

template<class T, int Dim, bool strided>
struct SplitDomainSingle< T, Dim, strided >

SplitDomainSingle<T,Dim,bool strided>::split(a,b,c) splits just the Dim dimension of the first argument into the second and third argument.

It is specialized on the third parameter indicating whether the domain has unit stride or not, and whether the type is int or not.

The default (unit-stride) version of SplitDomainSingle, which assumes that the domains have unit stride.


Member Function Documentation

template<class T , int Dim, bool strided>
static void SplitDomainSingle< T, Dim, strided >::split ( const T &  a,
int  axis,
T &  b,
T &  c 
) [inline, static]
template<class T , int Dim, bool strided>
static void SplitDomainSingle< T, Dim, strided >::split ( const T &  a,
int  axis,
int  leftLength,
T &  b,
T &  c 
) [inline, static]
template<class T , int Dim, bool strided>
static void SplitDomainSingle< T, Dim, strided >::split ( const T &  a,
T &  b,
T &  c 
) [inline, static]

The documentation for this struct was generated from the following file: