unionSeriesImpl

Initialize preallocated series using union of multiple (time) series. Doesn't make any allocations.

pragma(inline, false)
@optmath
unionSeriesImpl
(
I
E
IndexIterator
Iterator
size_t N
SliceKind kind
UI
UE
)
(
Series!(IndexIterator, Iterator, N, kind)[] seriesTuple
,
Series!(UI*, UE*, N) uninitSeries
)

Parameters

seriesTuple Series!(IndexIterator, Iterator, N, kind)[]

dynamic array composed of series.

uninitSeries Series!(UI*, UE*, N)

uninitialized series with exactly required length.

Meta