SDDSlib
|
Provides functions to sequence values over an n-dimensional grid. More...
#include "mdb.h"
Go to the source code of this file.
Functions | |
long | advance_values (double *value, long *value_index, double *initial, double *step, long n_values, long *counter, long *max_count, long n_indices) |
Sequences an array of values systematically to cover an n-dimensional grid. | |
long | advance_counter (long *counter, long *max_count, long n_indices) |
Advances the counter array based on maximum counts. | |
Provides functions to sequence values over an n-dimensional grid.
Definition in file counter.c.
long advance_counter | ( | long * | counter, |
long * | max_count, | ||
long | n_indices ) |
Advances the counter array based on maximum counts.
counter | Pointer to the counter array to be advanced. |
max_count | Pointer to the array of maximum counts. |
n_indices | Number of indices in the counter. |
Definition at line 51 of file counter.c.
long advance_values | ( | double * | value, |
long * | value_index, | ||
double * | initial, | ||
double * | step, | ||
long | n_values, | ||
long * | counter, | ||
long * | max_count, | ||
long | n_indices ) |
Sequences an array of values systematically to cover an n-dimensional grid.
value | Pointer to the array of values to be updated. |
value_index | Pointer to the array of value indices. |
initial | Pointer to the array of initial values. |
step | Pointer to the array of step sizes. |
n_values | Number of values in the array. |
counter | Pointer to the counter array. |
max_count | Pointer to the maximum count array. |
n_indices | Number of indices. |
Definition at line 31 of file counter.c.