what's the different of "Ways to Organize Data in Structure Arrays"
2 ビュー (過去 30 日間)
古いコメントを表示
When I read the doc of Matlab --- "Ways to Organize Data in Structure Arrays".
I find the ways are very similar or just the same?
* Plane Organization
* Element-by-Element Organization
0 件のコメント
採用された回答
Aaditya Kalsi
2012 年 7 月 6 日
Plane organization makes it easier to access particular fields of structures all at once whereas element-by-element makes it easier to get access to all fields of one struct in the array.
It's akin to row major, column major, though obviously not the same.