The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
padEdge.padEdge
mir
ndslice
concatenation
padEdge
auto
padEdge
(Slice!(Iterator, N, kind) s, size_t[dimensions.length] lengths)
template
padEdge
(size_t[] dimensions, string[] directions)
@
fmamath
@
fmamath
auto
padEdge
(
Iterator
size_t
N
SliceKind
kind
)
(
Slice
!(
Iterator
,
N
,
kind
)
s
,
size_t
[
dimensions.length
]
lengths
...
)
if
(
dimensions.length
&&
dimensions.length
==
directions.length
)
auto
padEdge
(Slice!(Iterator, N, kind) s, size_t[N] lengths)
Parameters
s
Slice
!(
Iterator
,
N
,
kind
)
Slice
lengths
size_t
[
dimensions
.
length
]
list of lengths for each dimension.
Return Value
Type:
auto
Concatenation
See Also
._concatenation
examples.
Meta
Source
See Implementation
mir
ndslice
concatenation
padEdge
functions
padEdge