rm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rm defines abstraction for Reed-Muller linear codes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

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

Code defines Reed-Muller Linear Code object

func (*Code) D

func (c *Code) D() uint

D returns the code distance of RM code

func (*Code) GetBasis

func (c *Code) GetBasis() []*vector.Vector

GetBasis returns basis of Reed-Muller code

func (*Code) K

func (c *Code) K() uint

K returns dimension of RM code

func (*Code) N

func (c *Code) N() uint

N returns length of RM code

func (*Code) Set

func (c *Code) Set(r, m uint) *Code

Set sets c to the RM(r,m) code

Jump to

Keyboard shortcuts

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