matrix

package
v0.0.0-...-70c1fab Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT 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

Cell by cell value comparision of two matrices, which returns `true` only if all cells are found to be equal

func (*Matrix) Cols

func (m *Matrix) Cols() uint

#-of columns in matrix

This isn't expected to change after initialised

func (*Matrix) Multiply

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

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

func (*Matrix) Rows

func (m *Matrix) Rows() uint

#-of rows in matrix

This may change in runtime, when some rows are removed as they're found to be linearly dependent with some other row, after application of RREF

Jump to

Keyboard shortcuts

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