Extend ._tensor_impl with linear sequences functions
#2782
+3,195
−331
._tensor_impl with linear sequences functions
#2782