-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
doingActively being worked onActively being worked onquestionFurther information is requestedFurther information is requested
Milestone
Description
Do we the end() methods in pyttb classes?
The end() method is TTB for MATLAB is used to identify the index of the last element of a tensor using linear indexing or the last index along a dimension when using subscript indexing.
numpy , which is used for most data objects in pyttb classes, supports negative indexing but in a different way than what end() does.
Should we implement end() methods that wrap numpy negative indexing (e.g., X[-1,-1,-1] for subscript indexing or X.flat[-1] for linear indexing? Or remove the end() methods?
Metadata
Metadata
Assignees
Labels
doingActively being worked onActively being worked onquestionFurther information is requestedFurther information is requested