api / koma / sin

sin

fun sin(arr:Matrix<Double>):Matrix<Double>

Returns a matrix of the sin of each element in the input matrix

Parameters

arr - An arbitrarily sized matrix

Return A matrix consisting of the operation performed element-wise.

fun sin(arr:Double):Double fun sin(arr:Int):Double

A convenience function performing the sin operation via the kotlin.math equivalent call.