Teem 1.10.0
src/unrrdu/shuffle.c File Reference
#include "unrrdu.h"
#include "privateUnrrdu.h"
Include dependency graph for shuffle.c:

Defines

#define INFO   "Permute slices along one axis"

Functions

int unrrdu_shuffleMain (int argc, char **argv, char *me, hestParm *hparm)
 UNRRDU_CMD (shuffle, INFO)

Variables

char * _unrrdu_shuffleInfoL

Define Documentation

#define INFO   "Permute slices along one axis"

Function Documentation

UNRRDU_CMD ( shuffle  ,
INFO   
)
int unrrdu_shuffleMain ( int  argc,
char **  argv,
char *  me,
hestParm hparm 
)

Variable Documentation

Initial value:
 
(INFO
 ". Slices along one axis are re-arranged as units "
 "according to the given permutation (or its inverse). "
 "The permutation tells which old slice to put at each "
 "new position.  For example, the shuffle "
 "0->1,\t1->2,\t2->0 would be \"2 0 1\".  Obviously, "
 "if you have to rearrange the many slices of a large "
 "dataset, you should probably store the permutation "
 "in a plain text file and use it as a "
 "\"response file\".")