Method
|
Return
|
Parameters
|
Comment
|
getPointValue
|
Float
|
Int List
|
non-std. get value of matrix at position 'point'. Point is converted as for self.pointToIndex.
|
getSubmatrixData
|
Float List
|
Int List, Int List
|
non-std. get data (packed linear array) for submatrix of shape 'shape' with 'point' as the corner with the smallest index values. point is convered as for self.pointToIndex. 'shape values that are omitted or set to zero are reset to the (rest of the) dimension size.
|
indexToPoint
|
Int List
|
Int
|
non-std. Converts array index to equivalent point
|
pointToIndex
|
Int
|
Int List
|
non-std. converts point to equivalent array index. Point is padded to matrix dimension with zeros. negative index values -i in point are treated as eqal to (size-i).
|
removeSlice
|
-
|
Int
|
non-std. Remove slice of matrix in slowest verying dimension at offset index.
|
resetData
|
-
|
-
|
non-std. Reset data to default values and free memory used.
|
setPointValue
|
-
|
Int List, Float
|
non-std. set value of matrix at position 'point'. Point is converted as for self.pointToIndex.
|
setSubmatrixData
|
-
|
Int List, Int List, Float List
|
non-std. set data for submatrix of shape 'shape' with 'point' as the corner with the smallest index values to 'values' (packed linear array). Point is converted as for self.pointToIndex. shape values that are omitted or set to zero are reset to the (rest of the) dimension size.
|
sizeFirstDim
|
-
|
Int
|
non-std. Change size in first (slowest) dimension, truncating or padding with self.defaultValue as necessary.
|