data structure / object
- To: mathgroup at smc.vnet.net
- Subject: [mg16293] data structure / object
- From: "schatzi" <antoine.zahnd at iprolink.ch>
- Date: Sun, 7 Mar 1999 01:05:30 -0500
- Organization: Internet Prolink SA Customer
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I would to do the following with Mathematica 3.0 : Define a data structure, fot example point[x,y], and then overload operators, and in particular the output operator. That is to say to be able to write p=point[1,2];q=point[-1,3];r=p+q pt[0,5] Thank you very much for your solutions, (and pointers to books/references). antoine.zahnd at iprolink.ch
- Follow-Ups:
- Re: data structure / object
- From: "Wolf, Hartmut" <hwolf@debis.com>
- Re: data structure / object