matrix

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type M

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

func New

func New(bounds image.Rectangle) *M

func NewFromGray

func NewFromGray(in *image.Gray) *M

func (*M) At

func (m *M) At(x, y int) float64

func (*M) Bounds

func (m *M) Bounds() image.Rectangle

func (*M) Set

func (m *M) Set(x, y int, value float64)

func (*M) SubImage

func (m *M) SubImage(r image.Rectangle) *M

func (*M) ToGray

func (m *M) ToGray() *image.Gray

Jump to

Keyboard shortcuts

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