Okay, I got it. Thanks, folks.
I had seen an example somewhere which, going by Mike's helpful bit of
info, must have been in column-major order - so I had things switched
around in my head. Actually, when I saw the example it didn't make
sense to me, but I just followed it along blindly! An
On Sun, Mar 29, 2009 at 12:43 PM, James Maxwell
wrote:
> Sorry for the long post, but I'm trying to wrap my head around NSData,
> NSMutableData and matrices.
> So I made an example to test my (mis)conception of how this all should work.
There are two ways to store two-dimensional data in a one-di
On Mar 29, 2009, at 11:43 AM, James Maxwell wrote:
Sorry for the long post, but I'm trying to wrap my head around
NSData, NSMutableData and matrices.
So I made an example to test my (mis)conception of how this all
should work.
Here it is:
- (void)matrixTesting
{
int
Sorry for the long post, but I'm trying to wrap my head around NSData,
NSMutableData and matrices.
So I made an example to test my (mis)conception of how this all should
work.
Here it is:
- (void)matrixTesting
{
int numRows = 5;
int numCols = 7;
NSMutableData