In the Repa package, there is a Boundary
datatype:
data Boundary a
= BoundFixed !a
| BoundConst !a
| BoundClamp
deriving (Show)
I understand what is meant by BoundConst
(cells outside of the array are treated as single value), and I understand what is meant by BoundClamp
(cells outside of the array are the same values as the closest array cell).
What is meant by BoundFixed
? The description is Use a fixed value for border regions. What is the "border region"? Are these all the edge cells?