This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
implementation_unwrap_modulo [2018/09/19 14:52] supergnu created |
implementation_unwrap_modulo [2018/09/19 16:45] supergnu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== C implementation of the Octave/ | + | ====== C implementation of a modulo |
- | The unwrap function in Octave/ | ||
It's an easy piece of code but handy to have it around off the shelf: | It's an easy piece of code but handy to have it around off the shelf: | ||
- | <code C unwrap.c> | + | <code C modulo.c> |
- | int unwrap(int *values, int numberOfValues, | + | int modulo(int *values, int numberOfValues, |
{ | { | ||
for (int i = 0; i < numberOfValues; | for (int i = 0; i < numberOfValues; |