Dirk Schulze wrote:

There was an argument that:

if (matrix.isInvertible())
        matrix.invert();

would force UAs to compute the determinant twice. Actually, UAs can be very 
smart about that. The determinant is a simple double. It can be stored and 
invalidated as needed internally. (If it even turns out to be an issue.)

Maybe not even invalidated, but just kept up-to-date (e.g. determinant of product = product of determinants)?

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to