commit | 079e67738b89686c451ace8d4e5e52d7534dfc3b | [log] [tgz] |
---|---|---|
author | Luc Maisonobe <luc@apache.org> | Fri Aug 05 15:01:49 2011 +0000 |
committer | Luc Maisonobe <luc@apache.org> | Fri Aug 05 15:01:49 2011 +0000 |
tree | f5ee013537d9b8f5126d28d34a5bb9962bed02c3 | |
parent | cb067c2503d2d99fd9f6fa4a4128c7be34f9d748 [diff] |
Added a few linearCombination utility methods in MathUtils to compute accurately linear combinations a1.b1 + a2.b2 + ... + an.bn taking great care to compensate for cancellation effects. This both improves and simplify several methods in euclidean geometry classes, including linear constructors, dot product and cross product. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1154250 13f79535-47bb-0310-9956-ffa450edef68