How to represent 2D array into 1D array ?!?

2D array

2D array

This is very interesting question “How to represents 2D array into 1D array?”. In this post I’ll show you two ways to do it:

  1. Row-Major order
  2. Column-Major order (vectorization)

Continue reading

Advertisements