MathKit
Toggle table of contents
2.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
MathKit
MathKit
/
com.sztorm.mathkit
/
Vector2FArray
/
sumOf
sum
Of
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Double
)
:
Double
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Int
)
:
Int
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
UInt
)
:
UInt
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Long
)
:
Long
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
ULong
)
:
ULong
inline
fun
sumOf
(
selector
:
(
Vector2F
)
->
Vector2F
)
:
Vector2F
Returns the sum of all values produced by
selector
function applied to each element in the array.