Deprecated ITensor::findindex methods. ITensor interface should not depend on Index order.
Brought Index and IQIndex interfaces into closer alignment. Fixed some issues with priming of complex indices. Made all fields of IndexDat const. Moved lots of code in index.h and iqindex.h into cc files. Worked on further encapsulating index classes, making many class methods into free methods.
Cleanup of Index interface and index.h.
Removed underscores from names of IndexDat fields.
Cleaned up SVDWorker code and checked implementation of denmatDecomp for complex case.
Unified interface for converting tensors to scalars. Now ITensor and IQTensor have methods toReal() (returns a Real) and toComplex(Real& re,Real& im).
Updated some unit tests.