vecfld

package
v0.0.0-...-8fb85de Latest Latest
Warning

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

Go to latest
Published: Jul 17, 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 OutOfDomainErr

type OutOfDomainErr struct {
	Vecfld     VectorField
	GivenPoint point.Point
}

func (OutOfDomainErr) Error

func (err OutOfDomainErr) Error() string

type VectorField

type VectorField interface {
	Dims() (int, int)
	At(p point.Point) (point.Point, error)
}

func NewAffine

func NewAffine(scale float64, adder point.Point) VectorField

func NewId

func NewId(dim int) VectorField

func NewZero

func NewZero(domainDim int, rangeDim int) VectorField

Jump to

Keyboard shortcuts

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