Re: Several questions on Objective C
Re: Several questions on Objective C
- Subject: Re: Several questions on Objective C
- From: Oscar Morales Vivó <email@hidden>
- Date: Mon, 8 Apr 2002 14:43:33 +0200
In case you care, I used '*' for scalar product and '^' for vector
product, although I occasionally have to remember to use parenthesis to
preserve the right operator precedence (usually the compiler complains,
as the return types for them are different).
Hope that helps.
On Monday, April 8, 2002, at 02:22 PM, Marco Scheurer wrote:
On Sunday, April 7, 2002, at 09:34 pm, Michael Gersten wrote:
p.s. Operator overloading is the one saving grace of C++. Think
quadratic roots. Think matrix/vector math.
What operator overloading would you use to multiply vectors? * maybe?
Would that be scalar or vector product?
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.