Moved Matrices.castOrCopy to MatrixSIS and added variants in sub-classes for consistency with
what we are doing in other classes. Added missing 'swap' method for consistency with the rest
of the ArraysExt class. Added a link to the pending part of GeoAPI for the javadoc parts that
talk about grid coverages.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1525116 13f79535-47bb-0310-9956-ffa450edef68
Added double-double arithmetic support as an internal class.
For now we plan to use it only for matrix multiplications and inversions, where
(in the particular case of SIS) accuracy is more critical than performance.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1526663 13f79535-47bb-0310-9956-ffa450edef68
XML output shall take in account the --encoding argument (SIS-138).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528038 13f79535-47bb-0310-9956-ffa450edef68
Fixed a NullPointerException during unmarshalling of an empty collection (SIS-139).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528101 13f79535-47bb-0310-9956-ffa450edef68
Adds a few constants for double-double arithmetic, especially for values related to PI and conversions between degrees and radians.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528121 13f79535-47bb-0310-9956-ffa450edef68
Forgot to remove extra digits in the previous commit... (last digits were rounding error).

git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528122 13f79535-47bb-0310-9956-ffa450edef68
Prepare for double-double matrix arithmetic: GeneralMatrix can now allocate space for the DoubleDouble.error terms (not yet used in this commit).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528208 13f79535-47bb-0310-9956-ffa450edef68
Reduce the logging level from "warning" to "config" when the Supervisor MBean is already registered.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528381 13f79535-47bb-0310-9956-ffa450edef68
Added a convenience 'warningOccured' internal method for a pattern which happen to occurs often in practice.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528414 13f79535-47bb-0310-9956-ffa450edef68
Set error terms to "inferred" values, and stricter check for the error terms in isAffine() and isIdentity().


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528428 13f79535-47bb-0310-9956-ffa450edef68
Matrix multiplications now use double-double arithmetic.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528514 13f79535-47bb-0310-9956-ffa450edef68
Slight simplification of Matrix3 and Matrix4 by the removal of their large 'equals' method,
replaced by a default implementation provided in SIS.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528522 13f79535-47bb-0310-9956-ffa450edef68
Revert the previous commit that removed 'equals' and 'hashCode' from Matrix3/4 (more investigation has show that it was not a so good idea),
and simplify in an other way by removing 'MatrixSIS.getExtendedElements()'. Instead, we perform that work in GeneralMatrix in a way that put
unconditionally the error terms. Tthis simplify the actual computation by removing a bunch of '(foo == 0) ? foo : foo' operations. This is
more apparent in the Solver class (not yet committed).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528555 13f79535-47bb-0310-9956-ffa450edef68
Added a STRICTFP static final flag for verification purpose only.
First piece of double-double arithmetic in matrix inversion.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528611 13f79535-47bb-0310-9956-ffa450edef68
Add convenience method in DoubleDouble working on array.
This make the code more readable in GeneralMatrix and Solver.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528793 13f79535-47bb-0310-9956-ffa450edef68
Renamed the STRICTFP constant as DISABLED. The old name was giving the impression that
non-STRICTFP calculations were platform-dependant (by analogy with the Java 'strictfp'
keyword), while it was not the case.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528795 13f79535-47bb-0310-9956-ffa450edef68
Complete the use of double-double arithmetic in matrix inversion.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528868 13f79535-47bb-0310-9956-ffa450edef68
Post double-double arithmetic cleaning: trivial renaming of local variables for more clarity.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528873 13f79535-47bb-0310-9956-ffa450edef68
Cleaning: remove unused 'precision' argument.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1528884 13f79535-47bb-0310-9956-ffa450edef68
Fix the seed of random number generators for ensuring stable builds.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1529004 13f79535-47bb-0310-9956-ffa450edef68