在 Repa 包中,有一个Boundary
数据类型:
data Boundary a
= BoundFixed !a
| BoundConst !a
| BoundClamp
deriving (Show)
我理解BoundConst
(数组外的单元格被视为单个值)的含义,并且我理解BoundClamp
(数组外的单元格与最近的数组单元格的值相同)的含义。
是什么意思BoundFixed
?描述为对边界区域使用固定值。什么是“边区”?这些都是边缘细胞吗?