-
Notifications
You must be signed in to change notification settings - Fork 0
NumberUtils
-
lowPassFilter(input: FloatArray, output: FloatArray?, filter: Float): FloatArray
Filter the noise in array. Both array to filter(input and output) and float factor to filter the noise i.e., Like 0.05 to 0.25. -
getRandomInt(fromNo: Int = 0, toNo: Int = 1000)
Return a random int number. Default range is 0-1000. -
getRandomDouble(fromNo: Double = 0.0, toNo: Double = 1000.0)
Return a random double number. Default is 0.0-1000.0. -
getRandomString(lengthOfString: Int = 20)
Return a random string. Default length of string is 20. -
generateRandomNumberList(fromNo: Int = 0, toNo: Int = 1000, noToBeGenerated: Int = 20)
Return random int number list. Default range is from 0-1000, and size of list will be 20. -
generateRandomDoubleNumberList(fromNo: Double = 0.0, toNo: Double = 1000.0, noToBeGenerated: Int = 20)
Return random double number list. Default range is from 0.0-1000.0, and size of list will be 20.