Internal API Reference

This is an exhaustive list of all non-exported constants, types and functions in FunctionMaps.jl.

Warning

Unexported functions and types are subject to change across different releases of the package, even if the release is said to be non-breaking.

Constants

FunctionMaps.AnyMap โ€” Type

AnyMap is the union of Map and MapRef.

In both cases map(m::AnyMap) returns the map itself.

source

Functions

FunctionMaps.checkmap โ€” Method

checkmap(m)

Checks that m is a map or refers to a map and if so returns that map, throws an error otherwise.

source
FunctionMaps.convert_fromcartesian โ€” Method

Convert a vector from a cartesian format to a nested tuple according to the given dimensions.

For example: convert_fromcartesian([1,2,3,4,5], Val{(2,2,1)}()) -> ([1,2],[3,4],5)

source
FunctionMaps.functionmap โ€” Method
functionmap(m)

Return a map associated with the object m.

The result need not have type Map, but its MapStyle is IsMap.

source
FunctionMaps.interval_map โ€” Method

Map the interval [a,b] to the interval [c,d].

This function deals with infinite intervals, and the type of the map returned may depend on the value (finiteness) of the given endpoints.

source
FunctionMaps.to_vector โ€” Method
to_vector(::Type{T}, A[, b])

Convert the b in the affine map A*x or A*x+b with domaintype T to a vector.

source

Types

FunctionMaps.AbstractAffineMap โ€” Type
AbstractAffineMap{T} <: Map{T}

An affine map has the general form y = A*x + b.

We use affinematrix(m) and affinevector(m) to denote A and b respectively. Concrete subtypes include linear maps of the form y = A*x and translations of the form y = x + b.

See also: affinematrix, affinevector.

source
FunctionMaps.AngleMap โ€” Type

AngleMap is a left inverse of UnitCircleMap. A 2D vector x is projected onto the intersection point with the unit circle of the line connecting x to the origin. The angle of this point, scaled to the interval [0,1), is the result.

source
FunctionMaps.CartToPolarMap โ€” Type

A Cartesion to Polar map. First dimension is interpreted as radial distance, second as an angle. The unit circle is mapped to the square [-1,1]x[-1,1].

source
FunctionMaps.ComposedMap โ€” Type
ComposedMap{T,MAPS}

The composition of several maps.

The components of a ComposedMap are the maps in the order that they are applied to the input.

source
FunctionMaps.LazyMap โ€” Type

A lazy map has an action that is defined in terms of other maps. Those maps are stored internally, and the action of the lazy map is computed on-the-fly and only when invoked.

source
FunctionMaps.PolarToCartMap โ€” Type

A Polar to Cartesian map. The angle is mapped to the second dimension, radius to the first. The square [-1,1]x[-1,1] is mapped to the unit circle.

source
FunctionMaps.TupleProductMap โ€” Type

A TupleProductMap is a product map with all components collected in a tuple. There is no vector-valued function associated with this map.

source
FunctionMaps.VcatMap โ€” Type

A VcatMap is a product map with domain and codomain vectors concatenated (vcat) into a single vector.

source