openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-shape
/
org.openrndr.shape
/
resample
resample
@
JvmName
(
name
=
"resampleList"
)
fun
<
T
:
LinearType
<
T
>
>
resample
(
input
:
List
<
Pair
<
T
,
Double
>
>
,
ts
:
List
<
Double
>
)
:
List
<
Pair
<
T
,
Double
>
>
(
source
)
fun
<
T1
:
LinearType
<
T1
>
,
T2
:
LinearType
<
T2
>
>
resample
(
input1
:
List
<
Pair
<
T1
,
Double
>
>
,
input2
:
List
<
Pair
<
T2
,
Double
>
>
)
:
List
<
Triple
<
T1
,
T2
,
Double
>
>
(
source
)
fun
<
T1
:
LinearType
<
T1
>
,
T2
:
LinearType
<
T2
>
,
T3
:
LinearType
<
T3
>
>
resample
(
input1
:
List
<
Pair
<
T1
,
Double
>
>
,
input2
:
List
<
Pair
<
T2
,
Double
>
>
,
input3
:
List
<
Pair
<
T3
,
Double
>
>
)
:
List
<
Quadruple
<
T1
,
T2
,
T3
,
Double
>
>
(
source
)