Polar shapelet decomposition uses matrices of complex numbers. Since Java 1.4 does not have a complex data type, we need a package for linear algebra working with the Complex elements.
We use the Complex
class from the colt
package.
For linear algebra algorithms we based the algorithms on relevant parts of the
Jama
package.
All algorithms were rewritten using operations on Complex variables. The resulting package was tested
using the matrix test class, also rewritten to work with Complex variables.