matrix

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matrix

type Matrix [][]byte

func (*Matrix) Cmp

func (m *Matrix) Cmp(m_ Matrix) bool

func (*Matrix) Cols

func (m *Matrix) Cols() uint

func (*Matrix) Multiply

func (m *Matrix) Multiply(field *galoisfield.GF, with Matrix) (Matrix, error)

Multiply - Multiplies two matrices ( which can be multiplied ) in order `m x with`

func (*Matrix) Rank

func (m *Matrix) Rank(field *galoisfield.GF) uint

Rank - Make use of this method when you've a matrix which is not yet rref-ed

func (*Matrix) Rank_

func (m *Matrix) Rank_() uint

Rank_ - Expected to be invoked on row reduced matrix so that rref step can be skipped

If you've a matrix which is not yet rref-ed, you may want to invoke `Rank()`

func (*Matrix) Rows

func (m *Matrix) Rows() uint

func (*Matrix) Rref

func (m *Matrix) Rref(field *galoisfield.GF) Matrix

Rref - Get matrix into reduced row echelon form, where matrix elements are GF(2**8) element, which are good fit for representing in 1 byte

Jump to

Keyboard shortcuts

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