gsl.Permutation¶
Module Contents¶
-
class
gsl.Permutation.Permutation(shape, data=None, **kwds)¶ A wrapper over a gsl permutation
-
data¶
-
shape¶
-
init(self)¶ Initialize a permutation
-
clone(self)¶ Allocate a new permutation and initialize it using my values
-
reverse(self)¶ Reverse me
-
inverse(self)¶ Reverse me
-
swap(self, other)¶ Swap me with {other}
-
size(self)¶ Compute my size
-
next(self)¶ Compute the next permutation in my sequence
-
prev(self)¶ Compute the prev permutation in my sequence
-
__bool__(self)¶
-
__len__(self)¶
-
__iter__(self)¶
-
__getitem__(self, index)¶
-