pow
fun pow(arr:Matrix<Double>, num:Int):Matrix<Double>
Returns a matrix which is the input matrix multiplied by itself num times (NOT elementwise multiplication!!). For elementwise see epow.
Parameters
arr - An arbitrarily sized matrix
num - The integer power
Return A matrix consisting of num matrix multiplies of the input.
fun pow(num:Double, exp:Double):Double
fun pow(num:Int, exp:Int):Double
fun pow(num:Double, exp:Int):Double
fun pow(num:Int, exp:Double):Double
A convenience function performing the pow operation via the kotlin.math equivalent call.