AbstractMappings

Index

AbstractMappings.l2_errorMethod
l2_error(f; to, relative=false, quadrule=standard_quadrature_rule(f,g))

Compute the (relative) L^2 error of f with respect to g. Any f and g will do as long as @cartesian and standard_quadrature_rule(f,g) are implemented.

source
AbstractMappings.ResizableArrayType
ResizableArray{T,Dim} <: AbstractArray{T, Dim}

Array-type that may be resized. New resources will be allocated if the new array-length exceeds maxlen.

source
AbstractMappings.@evaluate!Macro
@evaluate! Y = f(x)
@evaluate! Y += f(x)
@evaluate! Y -= f(x)
@evaluate! Y *= f(x)
@evaluate! Y /= f(x)

Fast update routine for evaluating a mapping on a grid $x ...$. array Y needs to be preallocated.

source
AbstractMappings.@evaluateMacro
@evaluate Y  = f(x)

Fast evaluation routine for evaluating a mapping on a grid $x ...$. The result is stored in array $Y$. Allocation is done automatically and EvaluationSet's of the correct size and type are cached for each mapping using an LRUCache.

source