floor
fun floor(arr:
Matrix
<
Double
>):
Matrix
<
Double
>
Rounds each element to the integer which is nearest to the element and still less than the element (i.e. truncation).
Parameters
arr
- An arbitrarily sized matrix
Return A matrix consisting of the operation performed element-wise.
fun floor(arr:
Double
):
Int
fun floor(arr:
Int
):
Double
A convenience function performing the floor operation via the kotlin.math equivalent call.