Method: removeSlice
Remove slice of matrix in slowest verying dimension at offset index.
guid:
|
www.ccpn.ac.uk_Fogh_2011-04-07-12:26:00_00001__www.ccpn.ac.uk_Fogh_2010-05-14-15:28:22_00001
|
OpType:
|
otherModify
|
OpSubType:
|
None
|
isQuery:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
data = self.__dict__['data']
if data:
start = self.pointToIndex((index,))
end = self.pointToIndex((index+1,))
del data[start:end]
self.__dict__['shape'][0] -= 1
|
|