cos
fun cos(arr:
Matrix
<
Double
>):
Matrix
<
Double
>
Returns a matrix of the cos of each element in the input matrix.
Parameters
arr
- An arbitrarily sized matrix
Return A matrix consisting of the operation performed element-wise.
fun cos(arr:
Double
):
Double
fun cos(arr:
Int
):
Double
A convenience function performing the cos operation via the kotlin.math equivalent call.