MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Abstract data types

  • To: mathgroup at
  • Subject: [mg13964] Abstract data types
  • From: mortena at (Morten N. Aasnes)
  • Date: Fri, 11 Sep 1998 15:06:53 -0400
  • Organization: University of Bergen, Norway
  • Sender: owner-wri-mathgroup at

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

Morten Nygaard Aasnes     mortena at       "Nothing's the same
anymore" Fantoft Stud.By A626,     (+47)55276131            -Sinclair
in b5:"Chrysalis" N-5036 FANTOFT, NORWAY     

  • 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