std

inline fun <T : Number> Array<T>.std(): Double

Computes the standard division of the value Array.

Example:

arrayOf(1, 2, 3, 4, 5, 6, 7).std() // 2.0
arrayOf().std() // NAN

Since

1.1.0


inline fun <T : Number> Iterable<T>.std(): Double

Computes the standard division of the value Iterable.

Example:

listOf(1, 2, 3, 4, 5, 6, 7).std() // 2.0
listOf().std() // NAN

Since

1.1.0