• 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: How to figure out if a tranform has no inverse?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to figure out if a tranform has no inverse?


  • Subject: Re: How to figure out if a tranform has no inverse?
  • From: Steve Weller <email@hidden>
  • Date: Sat, 21 Apr 2007 15:04:50 -0700


The matrix will have a zero determinant if it is not invertible. See det(A) in the link below:


http://en.wikipedia.org/wiki/Determinant

Since this is floating point math, close to zero might actually mean zero in this case due to rounding errors.


On Apr 21, 2007, at 3:01 PM, Antonio Nunes wrote:

Hi,

Looking for "NSAffineTransform inverse" and similar searches both in the docs and on the net doesn't give me any hits that discuss how to find out if a transform has no inverse, rather than getting an exception raised when it hasn't. Is there any way to figure this out when given a transform?

António

-----------------------------------------------
Touch is a language without words
-----------------------------------------------




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

-- Bagelturf Blog http://homepage.mac.com/bagelturf/



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to figure out if a tranform has no inverse?
      • From: Antonio Nunes <email@hidden>
References: 
 >How to figure out if a tranform has no inverse? (From: Antonio Nunes <email@hidden>)

  • Prev by Date: How to figure out if a tranform has no inverse?
  • Next by Date: Re: How to figure out if a tranform has no inverse?
  • Previous by thread: How to figure out if a tranform has no inverse?
  • Next by thread: Re: How to figure out if a tranform has no inverse?
  • Index(es):
    • Date
    • Thread