kmath-core
/
space.kscience.kmath.misc
/
cumulativeSum
common
cumulative
Sum
fun <
T
>
Iterable
<
T
>.
cumulativeSum
(group:
Ring
<
T
>):
Iterable
<
T
>
Content copied to clipboard
Cumulative sum with custom space
@
JvmName
(
name =
cumulativeSumOfDouble
)
fun
Iterable
<
Double
>.
cumulativeSum
():
Iterable
<
Double
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfInt
)
fun
Iterable
<
Int
>.
cumulativeSum
():
Iterable
<
Int
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfLong
)
fun
Iterable
<
Long
>.
cumulativeSum
():
Iterable
<
Long
>
Content copied to clipboard
fun <
T
>
Sequence
<
T
>.
cumulativeSum
(group:
Ring
<
T
>):
Sequence
<
T
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfDouble
)
fun
Sequence
<
Double
>.
cumulativeSum
():
Sequence
<
Double
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfInt
)
fun
Sequence
<
Int
>.
cumulativeSum
():
Sequence
<
Int
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfLong
)
fun
Sequence
<
Long
>.
cumulativeSum
():
Sequence
<
Long
>
Content copied to clipboard
fun <
T
>
List
<
T
>.
cumulativeSum
(group:
Ring
<
T
>):
List
<
T
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfDouble
)
fun
List
<
Double
>.
cumulativeSum
():
List
<
Double
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfInt
)
fun
List
<
Int
>.
cumulativeSum
():
List
<
Int
>
Content copied to clipboard
@
JvmName
(
name =
cumulativeSumOfLong
)
fun
List
<
Long
>.
cumulativeSum
():
List
<
Long
>
Content copied to clipboard