|
[Date Index]
[Thread Index]
[Author Index]
Abstract data types
- To: mathgroup at smc.vnet.net
- Subject: [mg13964] Abstract data types
- From: mortena at eple.ii.uib.no (Morten N. Aasnes)
- Date: Fri, 11 Sep 1998 15:06:53 -0400
- Organization: University of Bergen, Norway
- Sender: owner-wri-mathgroup at wolfram.com
Is there a way to make new datatypes in Mathematica? I have some
routines for reading various sorts of data from files, along with some
information about the data, like label to use for plot, axis labels,
etc. And I would like to be able to treat all this like a single
object. I supose I could just use a list, and have the first element be
the data itself, the second element as the label, etc. and then have
functions like setLabel/getLabel but this dosn't seem very elegant. Any
ideas?
--
Morten Nygaard Aasnes mortena at ii.uib.no "Nothing's the same
anymore" Fantoft Stud.By A626, (+47)55276131 -Sinclair
in b5:"Chrysalis" N-5036 FANTOFT, NORWAY www.ii.uib.no/~mortena
<*>
Prev by Date:
Re: Vectors
Next by Date:
Re: Binary Files
Previous by thread:
Re: delay differential equations
Next by thread:
Re: Abstract data types
|