permutation

package
v0.0.0-...-3807912 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: GPL-2.0 Imports: 6 Imported by: 2

Documentation

Overview

//////// AUTOMATICALLY GENERATED CODE - DO NOT EDIT //////////

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalCycles

func CanonicalCycles(q *GslPermutation) int

func CanonicalToLinear

func CanonicalToLinear(p *GslPermutation, q *GslPermutation) int32

func Fprintf

func Fprintf(stream *os.File, p *GslPermutation, format string) int32

func Fread

func Fread(stream *os.File, p *GslPermutation) int32

func Fscanf

func Fscanf(stream *os.File, p *GslPermutation) int32

func Fwrite

func Fwrite(stream *os.File, p *GslPermutation) int32

func Get

func Get(p *GslPermutation, i int) int

func Inverse

func Inverse(inv *GslPermutation, p *GslPermutation) int32

func Inversions

func Inversions(p *GslPermutation) int

func LinearCycles

func LinearCycles(p *GslPermutation) int

func LinearToCanonical

func LinearToCanonical(q *GslPermutation, p *GslPermutation) int32

func Memcpy

func Memcpy(dest *GslPermutation, src *GslPermutation) int32

func Mul

func Next

func Next(p *GslPermutation) int32

func PermutationInit

func PermutationInit(p *GslPermutation)

func Permute

func Permute(p *GslPermutation, data []float64, stride int, n int)

int gsl_permute (const size_t * p, double * data, size_t stride, size_t n)

func PermuteInverse

func PermuteInverse(p *GslPermutation, data []float64, stride int, n int)

int gsl_permute_inverse (const size_t * p, double * data, size_t stride, size_t n)

func PermuteVector

func PermuteVector(p *GslPermutation, v *vector.GslVector) int32

func PermuteVectorInverse

func PermuteVectorInverse(p *GslPermutation, v *vector.GslVector) int32

func Prev

func Prev(p *GslPermutation) int32

func Reverse

func Reverse(p *GslPermutation)

func Size

func Size(p *GslPermutation) int

func Swap

func Swap(p *GslPermutation, i int, j int) int32

func Valid

func Valid(p *GslPermutation) int32

Types

type GslPermutation

type GslPermutation struct {
	gogsl.GslReference
}

func PermutationAlloc

func PermutationAlloc(n int) *GslPermutation

func PermutationCalloc

func PermutationCalloc(n int) *GslPermutation

func (*GslPermutation) Dispose

func (x *GslPermutation) Dispose()

func (*GslPermutation) Len

func (p *GslPermutation) Len() int

func (*GslPermutation) Slice_

func (p *GslPermutation) Slice_() interface{}

Jump to

Keyboard shortcuts

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