![]() |
MobilityDB 1.3
|
A simple program that generates a given number of tfloat instants, accumulates each generated instants into an array, and at the end assembles the sequence from the input instants and outputs the number of instants and the last value of the sequence. More...
Macros | |
#define | MAX_INSTANTS 1000000 |
Functions | |
int | main (void) |
A simple program that generates a given number of tfloat instants, accumulates each generated instants into an array, and at the end assembles the sequence from the input instants and outputs the number of instants and the last value of the sequence.
This program and the program tfloat_expand.c in the same directory can be used to compare the two alternative strategies for (1) assembling the sequence at the end from the input instants (2) expanding the sequence at each input instant
The instants are generated so they are not redundant, that is, all input instants will appear in the final sequence.
The program can be build as follows