large numerical arrays
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.