kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.misc
/
zipWithNextCircular
zip
With
Next
Circular
inline
fun
<
T
,
R
>
List
<
T
>
.
zipWithNextCircular
(
transform
:
(
a
:
T
,
b
:
T
)
->
R
)
:
List
<
R
>
(
source
)
The same as
zipWithNext
, but includes link between last and first element
fun
<
T
>
List
<
T
>
.
zipWithNextCircular
(
)
:
List
<
Pair
<
T
,
T
>
>
(
source
)