The OpenD Programming Language

padEdge.padEdge

  1. auto padEdge(Slice!(Iterator, N, kind) s, size_t[dimensions.length] lengths)
    template padEdge(size_t[] dimensions, string[] directions)
    padEdge
    (
    Iterator
    size_t N
    SliceKind kind
    )
    (
    Slice!(Iterator, N, kind) s
    ,
    size_t[dimensions.length] lengths...
    )
    if (
    dimensions.length &&
    dimensions.length == directions.length
    )
  2. auto padEdge(Slice!(Iterator, N, kind) s, size_t[N] lengths)

Parameters

s Slice!(Iterator, N, kind)
lengths size_t[dimensions.length]

list of lengths for each dimension.

Return Value

Type: auto

See Also

._concatenation examples.

Meta