Implemented NDIterator for general purpose (maybe slow)
Added use case for tie index in terms of NDIterator
Fixed bugs in NDIterator
cleaned nditerator.h code up
Merged in new work by Naoki on NDIterator.
Fixed missing return statement in NDIterator operator=.
back up for master branch
Fixed typo in NDIterator::__decrement()
Slight optimization of NDIterator::__increment() and __decrement().
Added method bool NDIterator::valid() to test if operator* references valid tensor element.
Added shape_type::value_type NDIterator::index(size_type n) method to get current value of nth index.
Undo bug introduced by 4ddc2d890c7db
Implemented move constructor, move assignment, and swap for NDIterator.
Allow conversion from one NDIterator type to another as long as _Iterator type is convertible.
Added method NDIterator::end() which constructs an NDIterator representing the ending state of iteration. Added some other Tensor-like accessors to NDIterator.
Merge pull request #1 from emstoudenmire/master

Adding valid() and index(n) methods to NDIterator.
Fixed incorrect definitions of NDIterator::size() and NDIterator::end().
Fixed duplicate code introduced in a previous merge.
Merge github.com:naokin/BTAS-TWG into devel
Updated Tensor and TArray classes, cleaned up file structure