Codebox Operators list.delace

list.delace

Delace, de-interleave a list. (similar to zl.delace)

list.delace(input): [out1, out2]

Arguments:

Arguments

NameTypeDefaultDescription
inputlist

The input least that will be de-interleaved.

Returns

NameTypeDescription
out1list

A new list made up of the values at the even indices of the input list (zero-based). So an input list of 10 2 3.5 4 15 6 .7 would result in 10 3.5 15 .7.

out2list

A new list made up of the values at the odd indices of the input list (zero-based). So an input list of 10 2 3.5 4 15 6 .7 would result in 2 4 6.