Renamed weight -> stride . The latter is the conventional choice.
In RangeIterator: Container -> Range
Minor fixes in Range and StorageRef
Implemented bare-bones TensorViewIterator, to replace/augment NDIterator
Added util/functional.h, moved some existing functionality into it.
Minor update of functional.h
Cosmetic changes in range_iterator.h
StorageRef<const T> will provide read-only access.
Fixed is_boxtensor
Range1d now works with negative strides … used to implement CBLAS_ORDER-dependent iteration over dimensions.
1) Optimized TensorViewIterator operator++ … index and ordinal are updated together.
2) Introduced bare-bones TensorView. Properly handles const and nonconst views.
Merge pull request #16 from evaleev/master

Sync with evaleev/BTAS after introduction of TensorView.