|
Re: Quotes from the Chief Engineer and I
I mean it does not matter, but the JVM does attempt to store one-dimensional arrays contiguously, especially for primitives. Though there is, of course, no guarantee.
It is just much easier to imagine a matrix with 0,0 at the top left since this is how so many things in Java are represented. The only time I was able to use a non-standard matrix was in LibGDX where it represents it's display with 0,0 at the bottom (though you can flip it).
Of course you are right though, I can represent a Matrix as a NxM length single-dimensional array if I wanted to.
__________________
Team 1554 -- Oceanside Sailors - 2013-2014 - Lead/Sole Programmer
- 2014-2015 - Lead Programmer, President
- 2015-? - Team 1554 Mentor
Independent Public Projects
Developer at Legend Zero LLC.
Java/C++ Programmer
|