[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

real vectors



Dear Sirs,

I would like to write an object that inherits the vector object and
defines arithmetic with vectors, like vector addition, vector
multiplication and so on. I defined a lobby slot realVector, but when I
try to generate new kinds of realVector with copySize, I get the
message "_Clone:Filler primitive failed". I took a look into the
programming manual and it says the _Clone:Filler primitive, that is invoked
from the copySize method, can only applied to vectors.  I could rewrite
the realVector object so, that it does includes the vector instead of
inherit it, and redirect all methods like at:, at:Put:, copy, copySize:
by redirecting the methods to the included object, but I think this is
not a decent solution.

Can anybody give me a hint?

With kind regards			Frank Dzaak.

_______________________________________________________________________________

Deutsche Forschungsanstalt fuer Luft- und Raumfahrt e.V.
Institut fuer Flugmechanik
Frank.Dzaak@kolibri.fm.bs.dlr.de
Flughafen
3300 Braunschweig
Deutschland
_______________________________________________________________________________