api / koma / logb

logb

fun logb(base:Int, arr:Matrix<Double>):Matrix<Double>

Returns a matrix of the log-base-b of each element in the input matrix

Parameters

arr - An arbitrarily sized matrix

base - the base of the log (i.e. performs log-base-base)/base) of arr)/arr)

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

fun logb(base:Double, num:Double):Double fun logb(base:Int, num:Int):Double fun logb(base:Int, num:Double):Double fun logb(base:Double, num:Int):Double

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