cctw
0.2.1
|
Go to the source code of this file.
Macros | |
#define | UNUSED __attribute__((unused)) |
Functions | |
static void | initialize (void) |
static int | random_output_count (void) |
output_entry ** | allocate_output_entries (int count) |
bool | read_hdf_fragment (UNUSED const char *filename, void **output, int *output_length) |
bool | unpack_fragment (void *fragment, UNUSED void *fragment_length, double **intensity, int *intensity_count, double **weight, int *weight_count) |
static void | random_indices (int max_i, int max_j, int max_k, int *i, int *j, int *k) |
bool | forward_transform (int max_i, int max_j, int max_k, UNUSED int i, UNUSED int j, UNUSED int k, UNUSED double *intensity, int UNUSED intensity_count, UNUSED double *weight, UNUSED int weight_count, output_entry **output, int *output_count) |
bool | serialize_output_entries (output_entry *output) |
void | free_output_entries (output_entry **outputs, int output_count) |
Variables | |
static bool | initialized |
static unsigned int | seedp |
#define UNUSED __attribute__((unused)) |
Definition at line 7 of file cctw-dummies.cpp.
output_entry** allocate_output_entries | ( | int | count | ) |
Definition at line 29 of file cctw-dummies.cpp.
bool forward_transform | ( | int | max_i, |
int | max_j, | ||
int | max_k, | ||
UNUSED int | i, | ||
UNUSED int | j, | ||
UNUSED int | k, | ||
UNUSED double * | intensity, | ||
int UNUSED | intensity_count, | ||
UNUSED double * | weight, | ||
UNUSED int | weight_count, | ||
output_entry ** | output, | ||
int * | output_count | ||
) |
Definition at line 61 of file cctw-dummies.cpp.
References output_entry::i, output_entry::intensity, output_entry::intensity_count, output_entry::j, output_entry::k, random_indices(), random_output_count(), output_entry::weight, and output_entry::weight_count.
void free_output_entries | ( | output_entry ** | outputs, |
int | output_count | ||
) |
Definition at line 106 of file cctw-dummies.cpp.
|
static |
Definition at line 13 of file cctw-dummies.cpp.
References seedp.
Referenced by Cctwtcl_Initialize(), and random_output_count().
|
static |
Definition at line 85 of file cctw-dummies.cpp.
References seedp.
Referenced by forward_transform().
|
static |
Definition at line 19 of file cctw-dummies.cpp.
References initialize(), initialized, and seedp.
Referenced by forward_transform().
bool read_hdf_fragment | ( | UNUSED const char * | filename, |
void ** | output, | ||
int * | output_length | ||
) |
Definition at line 36 of file cctw-dummies.cpp.
bool serialize_output_entries | ( | output_entry * | output | ) |
Definition at line 97 of file cctw-dummies.cpp.
References output_entry::intensity_count, and output_entry::weight_count.
bool unpack_fragment | ( | void * | fragment, |
UNUSED void * | fragment_length, | ||
double ** | intensity, | ||
int * | intensity_count, | ||
double ** | weight, | ||
int * | weight_count | ||
) |
Definition at line 46 of file cctw-dummies.cpp.
|
static |
Definition at line 9 of file cctw-dummies.cpp.
Referenced by random_output_count().
|
static |
Definition at line 11 of file cctw-dummies.cpp.
Referenced by initialize(), random_indices(), and random_output_count().