integerexponents

package
v0.0.2-0...-db6250e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: CC0-1.0, CC0-1.0, CC0-1.0, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelper

func NewHelper(rk int, order monomialorder.Type) (exponents.Helper, error)

NewHelper returns a new helper of given rank and monomial order.

Types

type Slice

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

Slice defines the helper wrapper for an integer-valued exponent slice.

func (*Slice) Entry

func (s *Slice) Entry(i int) object.Element

Entry returns the i-th entry of the slice. This will panic if out of range.

func (*Slice) GobDecode

func (s *Slice) GobDecode(buf []byte) error

GobDecode implements the gob.GobDecoder interface.

func (*Slice) GobEncode

func (s *Slice) GobEncode() ([]byte, error)

GobEncode implements the gob.GobEncoder interface.

func (*Slice) Len

func (s *Slice) Len() int

Len returns the length of this slice of exponents.

func (*Slice) Universe

func (s *Slice) Universe() polynomial.ExponentMonoid

Universe returns the parent common to the elements in the slice.

func (*Slice) Unwrap

func (s *Slice) Unwrap() unwrappedexponents.Interface

Unwrap returns the underlying internal slice of exponents.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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