User Tools

Site Tools


implementation_unwrap_modulo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/Matlab unwrap function ======+====== C implementation of a modulo function ======
  
-The unwrap function in Octave/Matlab is simplifying the modulo of an arrray. 
 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 modulo(int *values, int numberOfValues, int modulo)
 { {
     for (int i = 0; i < numberOfValues; i++)     for (int i = 0; i < numberOfValues; i++)
implementation_unwrap_modulo.txt · Last modified: 2018/09/19 17:11 by supergnu