Package young :: Module permgroup
[show private | hide private]
[frames | no frames]

Module young.permgroup

library for permutation groups
Classes
PermGroup class PermGroup(permutation) -> return a class for permutation group
SymmetricGroup SymmetricGroup(n) -> return a class for symmetric group whose degree is n
AlternatingGroup  
BaseGroup base class for group
Cycle class for cycle

Function Summary
  get_inv(*permutation)
get_inversion(permutation) -> Return the inversion number of the permutation.
  get_inversion(*permutation)
get_inversion(permutation) -> Return the inversion number of the permutation.
  get_sgn(*permutation)
get_sgn(permutation) -> Return the signature of the permutation.
  permgroup(*seq)
permgroup(sequence) -> Return the PermGroup instance from a sequence.
  symmgroup(num)
symmgroup(n) -> return the SymmetricGroup instance whose degree is n
  to_cycle(*permutation)
to_cycle(permutation) -> decomposite permutation group into cycle
  cycle_decomposition_generator(group)
generator for cycle decomposition
  int2str(seq, separator)
convert a sequence of int to a sequence of string
  pretty_print_cycyle(group, Ignore_Id, prefix, suffix)
pretty print cycles
  pretty_print_permgroup(group, prefix, suffix)
Pretty print permutation group

Function Details

get_inv(*permutation)

get_inversion(permutation) -> Return the inversion number of the permutation.

get_inversion(*permutation)

get_inversion(permutation) -> Return the inversion number of the permutation.

get_sgn(*permutation)

get_sgn(permutation) -> Return the signature of the permutation.

permgroup(*seq)

permgroup(sequence) -> Return the PermGroup instance from a sequence.

symmgroup(num)

symmgroup(n) -> return the SymmetricGroup instance whose degree is n

to_cycle(*permutation)

to_cycle(permutation) -> decomposite permutation group into cycle

cycle_decomposition_generator(group)

generator for cycle decomposition

int2str(seq, separator=' ')

convert a sequence of int to a sequence of string

pretty_print_cycyle(group, Ignore_Id=False, prefix='(', suffix=')')

pretty print cycles

pretty_print_permgroup(group, prefix='(', suffix=')')

Pretty print permutation group

Generated by Epydoc 2.1 on Wed Dec 08 22:20:20 2004 http://epydoc.sf.net