Re: How to figure out if a tranform has no inverse?
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