• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Several questions on Objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Several questions on Objective C (From: Marco Scheurer <email@hidden>)

  • Prev by Date: Re: Several questions on Objective C
  • Next by Date: Updating Dock mini windows
  • Previous by thread: Re: Several questions on Objective C
  • Next by thread: Retrieving "default" defaults after registerDefaults?
  • Index(es):
    • Date
    • Thread