On Sat, Mar 28, 2009 at 2:59 AM, Devon McCormick <[email protected]> wrote: > Matthew - you may want to put this page as a sub-directory to your personal > page in order to name it more meaningfully than with your own name as it is > now.
Thanks. I have created the page: http://www.jsoftware.com/jwiki/MatthewBrand/collection Before I got the hang of it though I managed to create a sub-page in the Wiki tree but do not know how to delete it. Could somebody tell me how to? It does not belong there. http://www.jsoftware.com/jwiki/collection > This looks interesting as an example of OO It has been a very useful exercise for me to write this. I did not understand namespaces and objects properly before doing this. + I have learned a bit about Wiki's! >>but I'm not sure what advantage > it has over keeping the data in an array. Is the intent to use the unique > sequence number for tracking changes or something like that? I made the usn class to generate unique file numbers to store time series data on the disk using a separate file for each time step. I want to use it for a problem in which: a) the data for each time step is too large to store all of it for all steps in memory at once (~50GB) b) the computation time required for a single step is much greater than the over head of read/write c) I need to insert time steps but do not want to have to rename all of the existing files d) I want a trace of the calculation As for the collection class, I think the thing it does is useful, but the way it does it (OOP) might be inefficient compared to a P/R array based solution. I do not know how to do that though :-(. The collection class does not need to inherit from the usn class, but a lot of the functionality required by the collection class is already in usn so I thought I might as well use it. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
