abs

fun abs(array: DoubleArray)

Performs element-wise absolute value on the array. The array is changed in place.

Parameters

array

the array to apply the absolute value function on