[chuck-users] Are array types really classes ?

Cyrille.Damez at laposte.net Cyrille.Damez at laposte.net
Thu Sep 3 17:51:02 EDT 2009


On Thursday 03 September 2009 22:17:04 Kassen wrote:
> Wouldn't writing a Vector class, then creating a array of those come down
> to this?

Not quite, because I can't add member functions that would 
perform "horizontal" operations (e.g. norm() for vectors, or draw() for 
probability arrays). 

> We don't have operator overloading right now. At least you can't overload
> them yourself; of course the ChucK operator is quite overloaded. 

Indeed. That must have been why I assumed we could.

Thanks for the answers!


More information about the chuck-users mailing list