matrix

package
v0.0.0-...-829dc02 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Delimiter string = ","
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Matrix

type Matrix[T types.Number] struct {
	// contains filtered or unexported fields
}

func NewMatrix

func NewMatrix[T types.Number]() *Matrix[T]

func (*Matrix[T]) Flatten

func (m *Matrix[T]) Flatten() []T

func (*Matrix[T]) FlattenString

func (m *Matrix[T]) FlattenString(delimiter string) string

func (*Matrix[T]) Invert

func (m *Matrix[T]) Invert() *Matrix[T]

func (*Matrix[T]) Multiply

func (m *Matrix[T]) Multiply() T

func (*Matrix[T]) Populate

func (m *Matrix[T]) Populate(records [][]string) error

func (*Matrix[T]) String

func (m *Matrix[T]) String() string

func (*Matrix[T]) Sum

func (m *Matrix[T]) Sum() T

Jump to

Keyboard shortcuts

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