• 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
Vector or Matrix Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Vector or Matrix Object


  • Subject: Vector or Matrix Object
  • From: Richard Patterson <email@hidden>
  • Date: Tue, 22 Feb 2005 17:35:15 -0800

If I want to create objects to do vector and matrix math, does anyone have any pointers as to how I should do it. I am assuming I should subclass NSMutableArray and let a vector be an array of NSNumbers and a Matriix be an array of Vectors, but I am unsure about how I set it up so that I can access elements with [row][column] syntax or whatever. Any suggestions or sample code would be greatly appreciated.

Or is the consensus that this is a waste of time and energy and I should just use C structures and handles to do the job?

Richard Patterson
Illusion Arts
6700 Valjean Avenue
Van Nuys, CA 91406
818 901-1077
FAX: 818 901-1995
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Vector or Matrix Object
      • From: Jim McLoughlin <email@hidden>
    • Re: Vector or Matrix Object
      • From: Ed Baskerville <email@hidden>
    • Re: Vector or Matrix Object
      • From: Ed Baskerville <email@hidden>
    • Re: Vector or Matrix Object
      • From: Tommy Nordgren <email@hidden>
  • Prev by Date: Re: Newbie - Cursor question
  • Next by Date: Storing documents as bundles
  • Previous by thread: Re: Newbie - Cursor question
  • Next by thread: Re: Vector or Matrix Object
  • Index(es):
    • Date
    • Thread