From imosqueira at suk.azti.es  Tue Jun 14 09:23:40 2005
From: imosqueira at suk.azti.es (Iago Mosqueira)
Date: Tue, 14 Jun 2005 09:23:40 +0200
Subject: [Rd] operators as S4 methods
Message-ID: <1118733820.21400.100.camel@patudo.azti.local>

Dear all,

I need to re-define some mathematical operators (+, *, /, etc) for an S4
class based on array. All references I have found (S Programming, Green
Book) show how to define S3 methods for this (like in page 89 of S
Programming for "-.polynomial"). What is the preferred S4 way for doing
this? I hope I haven't missed some obvious piece of documentation.

Many thanks,

 
Iago Mosqueira



[Rd] operators as S4 methods
Iago Mosqueira