• 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
large numerical arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

large numerical arrays


  • Subject: large numerical arrays
  • From: "Charles C. Agosta" <email@hidden>
  • Date: Mon, 24 Jun 2002 22:14:43 -0400

Although I have been programming for many years (30?), I am new to object oriented programming. Most of the work I do involves scientific programming that has lots of calculation and very simple user interfaces. I realize that much of my old code will stay the same as I migrate to Cocoa (certainly I am not going to rewrite my trusty Numerical Recipes , despite the fact that it drives me crazy that all of their arrays start with index 1 instead of 0), but what about memory allocation?
I often declare a few one or two dimensional arrays of doubles that contain 1 - 5 million members. I used to use malloc, and switched to NewPtr when I started Mac programming about fifteen years ago. NSarray does not seen to apply to simple numerical types. Is there anything that I should consider from the Cocoa class library? Thanks for the help.

-Chuck
--

**********************************************
Prof. Charles C. Agosta PH. 508-793-7736
Department of Physics FAX 508-793-8861
Clark University http://physics.clarku.edu/~cagosta/
950 Main Street
Worcester, MA 01610
_______________________________________________
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.

  • Follow-Ups:
    • Re: large numerical arrays
      • From: Ondra Cada <email@hidden>
    • Re: large numerical arrays
      • From: Jason Harris <email@hidden>
  • Prev by Date: How to get references to objects created from nib files?
  • Next by Date: Re: NSMutableDictionary -> NSData
  • Previous by thread: Re: How to get references to objects created from nib files?
  • Next by thread: Re: large numerical arrays
  • Index(es):
    • Date
    • Thread