• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A Matrix collection class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: A Matrix collection class (From: Ondra Cada <email@hidden>)

  • Prev by Date: Never Mind the File Extensions
  • Next by Date: man? unix?
  • Previous by thread: Re: A Matrix collection class
  • Next by thread: Re: A Matrix collection class
  • Index(es):
    • Date
    • Thread