09-05-2012 02:59 PM - edited 09-05-2012 03:01 PM
Just wire the array through it. Nothing else needs to be done.
I would also avoid using floating point (doubles, singles) for this as you may have issues with rounding. There are no odd/even floating point numbers. That concept only applies to integers.
09-05-2012 03:07 PM
Ah, another homework assignment done!