Re: A Matrix collection class
Re: A Matrix collection class
- Subject: Re: A Matrix collection class
- From: email@hidden
- Date: Wed, 08 May 2002 16:23:10 +0100
Also, for some not quite obvious
reason, this works for me only if typedef is used (anybody knows why cast
'((*int) [5][3])' does not work? It should, IMHO!):
Ah, that would explain why I can never get the typecast to work. How
bizarre.
And while I know I can use my own index calculation, or an NSDictionary,
I was hoping (as I said) for something less ugly. An object that does
that for me, for example.
I personally know of none available, but my estimate for writing and
debugging one is half an hour at most for relatively inexperienced
programmer, so I would not see it as a big problem. ---
For a quick hack, yes, but I don't believe in quick hacks when I could do
it well and save others the time. I was hoping somebody might have done
that already. Ah, well.
here is a VERY simple matrix class that I had squirreled away. Somewhere,
I even have an altivec enhanced version I was working on:
Thanks, that's more like I was wanting.
I am in the throes of making my own matrix class, is anyone interested in
helping me do the basic design decisions? If so, I have a page up at
http://www.cocoadev.com/index.pl?DesignMatrix with some thoughts (just use
the History option if anyone narfs the page). Like I say, I want it to be
useful, so I need more thoughts than just my own.
Kritter out
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.