permutation

package
v0.0.0-...-bd79bcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permutation

type Permutation struct {
	// contains filtered or unexported fields
}

Permutation permutations

func New

func New(n int) *Permutation

New new Permutation

func (*Permutation) Matrix

func (p *Permutation) Matrix() *matrix.Matrix

Matrix matrix view

func (*Permutation) Mprint

func (p *Permutation) Mprint()

Mprint print

func (*Permutation) Print

func (p *Permutation) Print()

Print print

func (*Permutation) Size

func (p *Permutation) Size() int

Size Permutation size

func (*Permutation) Swap

func (p *Permutation) Swap(i, j int) error

Swap swap i, j

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL