in reply to Re^6: Sum of N elements in an M element arrayin thread Sum of N elements in an M element array