Quantcast
Channel: cyotek.com Blog Summary Feed
Viewing all articles
Browse latest Browse all 559

Converting 2D arrays to 1D and accessing as either 2D or 1D

$
0
0
This article shows how you can store 2D data in a 1D array using row-major order and convert locations between the two.

Viewing all articles
Browse latest Browse all 559

Trending Articles