index.h File Reference

(2014-04-30 15:38:09 -0400, (build fd32605))

#include "defines.h"
#include "exception.h"

Go to the source code of this file.

Data Structures

struct  sub_t
 Metadata describing subscript. More...
 
class  seq
 sequential index generator More...
 

Namespaces

 af
 

Macros

#define is_gpu(id)   ((id) == S_GPU || (id) == S_IRITH_SCALAR || (id) == S_IRITH_MATRIX)
 Is this subscript referencing GPU data? More...
 
#define _B_
 
#define _S_   float
 
#define _D_   double
 
#define _C_   cfloat
 
#define _Z_   cdouble
 
#define _I_   int
 
#define _U_   unsigned
 
#define JI_PARAMS
 
#define GET(T)   AFAPI afError af_get(_##T##_ *d_dst, const _##T##_ *d_src, JI_PARAMS);
 
#define SET(T)   AFAPI afError af_set(_##T##_ *d_dst, const _##T##_ *d_src, JI_PARAMS, unsigned ngfor_src);
 
#define SETSCALAR(T)
 

Enumerations

enum  stype_t {
  S_LIN, S_NON, S_GPU, S_I,
  S_IRITH_SCALAR, S_IRITH_MATRIX
}
 What type of subscript is this? More...
 
enum  sty_t { STY_BOOL, STY_F32, STY_F64, STY_U32 }
 What type of data is this? More...
 

Functions

afError af_remove_SS (float *d_out, unsigned num_in, float *d_in, unsigned num_rm, float *h_idx)
 
afError af_remove_DS (double *d_out, unsigned num_in, double *d_in, unsigned num_rm, float *h_idx)
 
afError af_remove_CS (cfloat *d_out, unsigned num_in, cfloat *d_in, unsigned num_rm, float *h_idx)
 
afError af_remove_ZS (cdouble *d_out, unsigned num_in, cdouble *d_in, unsigned num_rm, float *h_idx)
 
afError af_remove_DD (double *d_out, unsigned num_in, double *d_in, unsigned num_rm, double *h_idx)
 
afError af_remove_ZD (cdouble *d_out, unsigned num_in, cdouble *d_in, unsigned num_rm, double *h_idx)
 
afError af_remove_SU (float *d_out, unsigned num_in, float *d_in, unsigned num_rm, unsigned *h_idx)
 
afError af_remove_DU (double *d_out, unsigned num_in, double *d_in, unsigned num_rm, unsigned *h_idx)
 
afError af_remove_CU (cfloat *d_out, unsigned num_in, cfloat *d_in, unsigned num_rm, unsigned *h_idx)
 
afError af_remove_ZU (cdouble *d_out, unsigned num_in, cdouble *d_in, unsigned num_rm, unsigned *h_idx)
 
afError af_range_S (float *d_out, float start, float step, unsigned numel)
 
Get values from array
afError af_get (bool *d_dst, const bool *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (float *d_dst, const float *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (double *d_dst, const double *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (cfloat *d_dst, const cfloat *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (cdouble *d_dst, const cdouble *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (unsigned *d_dst, const unsigned *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_get (int *d_dst, const int *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
Set values in array
afError af_set (bool *d_dst, const bool *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (float *d_dst, const float *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (double *d_dst, const double *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (cfloat *d_dst, const cfloat *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (cdouble *d_dst, const cdouble *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (unsigned *d_dst, const unsigned *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_set (int *d_dst, const int *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
Set scalar values in array
afError af_setscalar (bool *d_dst, const bool src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (bool *d_dst, const bool *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (float *d_dst, const float src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (float *d_dst, const float *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (double *d_dst, const double src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (double *d_dst, const double *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (cfloat *d_dst, const cfloat src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (cfloat *d_dst, const cfloat *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (cdouble *d_dst, const cdouble src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (cdouble *d_dst, const cdouble *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (unsigned *d_dst, const unsigned src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (unsigned *d_dst, const unsigned *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 
afError af_setscalar (int *d_dst, const int src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
 
afError af_setscalar (int *d_dst, const int *d_src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc, unsigned ngfor_src)
 

Variables

int end
 Reference last element in dimension. More...
 
seq span
 Reference entire dimension. More...
 

Macro Definition Documentation

#define is_gpu (   id)    ((id) == S_GPU || (id) == S_IRITH_SCALAR || (id) == S_IRITH_MATRIX)

Is this subscript referencing GPU data?

#define _B_
#define _S_   float
#define _D_   double
#define _C_   cfloat
#define _Z_   cdouble
#define _I_   int
#define _U_   unsigned
#define JI_PARAMS
Value:
int nsubs, const sub_t *subs, \
const unsigned *dims_dst, const unsigned *dims_src, unsigned base, \
const unsigned *inds, const void *d0, const void *d1, const void *d2, \
unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc
Metadata describing subscript.
Definition: index.h:33
#define GET (   T)    AFAPI afError af_get(_##T##_ *d_dst, const _##T##_ *d_src, JI_PARAMS);
#define SET (   T)    AFAPI afError af_set(_##T##_ *d_dst, const _##T##_ *d_src, JI_PARAMS, unsigned ngfor_src);
#define SETSCALAR (   T)
Value:
AFAPI afError af_setscalar(_##T##_ *d_dst, const _##T##_ src, JI_PARAMS); \
AFAPI afError af_setscalar(_##T##_ *d_dst, const _##T##_ *d_src, JI_PARAMS, unsigned ngfor_src);
afError af_setscalar(bool *d_dst, const bool src, int nsubs, const sub_t *subs, const unsigned *dims_dst, const unsigned *dims_src, unsigned base, const unsigned *inds, const void *d0, const void *d1, const void *d2, unsigned ngfor_dst, unsigned ngfor_sub, float start, float inc)
afError
Definition: defines.h:10
#define JI_PARAMS
Definition: index.h:354
#define AFAPI
Definition: defines.h:45

Enumeration Type Documentation

enum stype_t

What type of subscript is this?

Enumerator
S_LIN 

Linear (inc*i+first)

S_NON 

Nonlinear (directly specified in d_ind)

S_GPU 

Read from GPU device memory (zero-indexed)

S_I 

GFOR iterator.

S_IRITH_SCALAR 

GFOR iterator with scalar arithmetic.

S_IRITH_MATRIX 

GFOR iterator with non-scalar arithmetic.

enum sty_t

What type of data is this?

Enumerator
STY_BOOL 

Boolean (only scalar subsasgn)

STY_F32 

Single-precision (32-bit)

STY_F64 

Double-precision (64-bit)

STY_U32 

Unsigned integer (32-bit)

Function Documentation

afError af_get ( bool *  d_dst,
const bool *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( float *  d_dst,
const float *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( double *  d_dst,
const double *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( cfloat *  d_dst,
const cfloat *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( cdouble *  d_dst,
const cdouble *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( unsigned *  d_dst,
const unsigned *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_get ( int *  d_dst,
const int *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_set ( bool *  d_dst,
const bool *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( float *  d_dst,
const float *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( double *  d_dst,
const double *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( cfloat *  d_dst,
const cfloat *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( cdouble *  d_dst,
const cdouble *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( unsigned *  d_dst,
const unsigned *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_set ( int *  d_dst,
const int *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( bool *  d_dst,
const bool  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( bool *  d_dst,
const bool *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( float *  d_dst,
const float  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( float *  d_dst,
const float *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( double *  d_dst,
const double  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( double *  d_dst,
const double *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( cfloat *  d_dst,
const cfloat  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( cfloat *  d_dst,
const cfloat *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( cdouble *  d_dst,
const cdouble  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( cdouble *  d_dst,
const cdouble *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( unsigned *  d_dst,
const unsigned  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( unsigned *  d_dst,
const unsigned *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_setscalar ( int *  d_dst,
const int  src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc 
)
afError af_setscalar ( int *  d_dst,
const int *  d_src,
int  nsubs,
const sub_t *  subs,
const unsigned *  dims_dst,
const unsigned *  dims_src,
unsigned  base,
const unsigned *  inds,
const void *  d0,
const void *  d1,
const void *  d2,
unsigned  ngfor_dst,
unsigned  ngfor_sub,
float  start,
float  inc,
unsigned  ngfor_src 
)
afError af_remove_SS ( float *  d_out,
unsigned  num_in,
float *  d_in,
unsigned  num_rm,
float *  h_idx 
)
afError af_remove_DS ( double *  d_out,
unsigned  num_in,
double *  d_in,
unsigned  num_rm,
float *  h_idx 
)
afError af_remove_CS ( cfloat *  d_out,
unsigned  num_in,
cfloat *  d_in,
unsigned  num_rm,
float *  h_idx 
)
afError af_remove_ZS ( cdouble *  d_out,
unsigned  num_in,
cdouble *  d_in,
unsigned  num_rm,
float *  h_idx 
)
afError af_remove_DD ( double *  d_out,
unsigned  num_in,
double *  d_in,
unsigned  num_rm,
double *  h_idx 
)
afError af_remove_ZD ( cdouble *  d_out,
unsigned  num_in,
cdouble *  d_in,
unsigned  num_rm,
double *  h_idx 
)
afError af_remove_SU ( float *  d_out,
unsigned  num_in,
float *  d_in,
unsigned  num_rm,
unsigned *  h_idx 
)
afError af_remove_DU ( double *  d_out,
unsigned  num_in,
double *  d_in,
unsigned  num_rm,
unsigned *  h_idx 
)
afError af_remove_CU ( cfloat *  d_out,
unsigned  num_in,
cfloat *  d_in,
unsigned  num_rm,
unsigned *  h_idx 
)
afError af_remove_ZU ( cdouble *  d_out,
unsigned  num_in,
cdouble *  d_in,
unsigned  num_rm,
unsigned *  h_idx 
)
afError af_range_S ( float *  d_out,
float  start,
float  step,
unsigned  numel 
)