Packages
gsl
Gsl
Permutation
fprintf
Permutation
Permutation.with_zeros
@get
canonical_cycles
canonical_to_linear
fread
fscanf
fwrite
init
inverse
inversions
linear_cycles
linear_to_canonical
memcpy
mul
next
prev
reverse
swap
valid
data
size
Permutation
Object Hierarchy:
Gsl.Permutation
Gsl.Permutation
Gsl.Permutation
Description:
[
Compact
]
[
CCode
( cname =
"gsl_permutation"
) ]
public
class
Permutation
Namespace:
Gsl
Package:
gsl
Content:
Static methods:
public
static
int
fprintf
(
FileStream
stream,
Permutation
p,
string
format)
Creation methods:
public
Permutation
(
size_t
n)
public
Permutation.with_zeros
(
size_t
n)
Methods:
public
size_t
@get
(
size_t
i)
public
size_t
canonical_cycles
()
public
int
canonical_to_linear
(
Permutation
q)
public
int
fread
(
FileStream
stream)
public
int
fscanf
(
FileStream
stream)
public
int
fwrite
(
FileStream
stream)
public
void
init
()
public
int
inverse
(
Permutation
p)
public
size_t
inversions
()
public
size_t
linear_cycles
()
public
int
linear_to_canonical
(
Permutation
p)
public
int
memcpy
(
Permutation
src)
public
int
mul
(
Permutation
pa,
Permutation
pb)
public
int
next
()
public
int
prev
()
public
void
reverse
()
public
int
swap
(
size_t
i,
size_t
j)
public
int
valid
()
Fields:
public
size_t
*
data
public
size_t
size