goal-geometry-0.20: The basic geometric type system of Goal
Safe HaskellNone
LanguageHaskell2010

Goal.Geometry.Map

Description

Definitions for working with manifolds of functions, a.k.a. function spaces.

Synopsis

Documentation

class (Manifold x, Manifold y, Manifold (f y x)) => Map c f y x where Source #

A Manifold is a Map if it is a binary type-function of two Manifolds, and can transforms Points on the first Manifold into Points on the second Manifold.

Methods

(>.>) :: (c # f y x) -> (c #* x) -> c # y Source #

Map application restricted.

(>$>) :: (c # f y x) -> [c #* x] -> [c # y] Source #

Map vector application. May sometimes have a more efficient implementation than simply mapping (>.>).

Instances

Instances details
(Manifold x, Manifold y) => Map c Tensor y x Source # 
Instance details

Defined in Goal.Geometry.Map.Linear

Methods

(>.>) :: (c # Tensor y x) -> (c #* x) -> c # y Source #

(>$>) :: (c # Tensor y x) -> [c #* x] -> [c # y] Source #

(Translation z y, Map c f y x) => Map c (Affine f y) z x Source # 
Instance details

Defined in Goal.Geometry.Map.Linear

Methods

(>.>) :: (c # Affine f y z x) -> (c #* x) -> c # z Source #

(>$>) :: (c # Affine f y z x) -> [c #* x] -> [c # z] Source #

Map c f z x => Map c (NeuralNetwork ('[] :: [(Type -> Type -> Type, Type)]) f) z x Source # 
Instance details

Defined in Goal.Geometry.Map.NeuralNetwork

Methods

(>.>) :: (c # NeuralNetwork '[] f z x) -> (c #* x) -> c # z Source #

(>$>) :: (c # NeuralNetwork '[] f z x) -> [c #* x] -> [c # z] Source #

(Map c f z y, Map c (NeuralNetwork gys g) y x, Transition c (Dual c) y) => Map c (NeuralNetwork ('(g, y) ': gys) f) z x Source # 
Instance details

Defined in Goal.Geometry.Map.NeuralNetwork

Methods

(>.>) :: (c # NeuralNetwork ('(g, y) ': gys) f z x) -> (c #* x) -> c # z Source #

(>$>) :: (c # NeuralNetwork ('(g, y) ': gys) f z x) -> [c #* x] -> [c # z] Source #

KnownConvolutional rd r c z x => Map a (Convolutional rd r c) z x Source # 
Instance details

Defined in Goal.Geometry.Map.Linear.Convolutional

Methods

(>.>) :: (a # Convolutional rd r c z x) -> (a #* x) -> a # z Source #

(>$>) :: (a # Convolutional rd r c z x) -> [a #* x] -> [a # z] Source #