ArrayUtil

ra3.bufferimpl.ArrayUtil
object ArrayUtil

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ArrayUtil.type

Members list

Value members

Concrete methods

def dropNAD(array: Array[Double]): Array[Double]
def dropNAI(array: Array[Int]): Array[Int]
def dropNAL(array: Array[Long]): Array[Long]
def filterD(arr: Array[Double])(pred: Double => Boolean): Array[Double]
def filterI(arr: Array[Int])(pred: Int => Boolean): Array[Int]
def filterL(arr: Array[Long])(pred: Long => Boolean): Array[Long]
def findD(ar: Array[Double], p: Double => Boolean): Array[Int]
def findG[T](ar: Array[T], p: T => Boolean): Array[Int]
def findI(ar: Array[Int], p: Int => Boolean): Array[Int]
def findL(ar: Array[Long], p: Long => Boolean): Array[Int]
def flattenD(arrs: Seq[Array[Double]]): Array[Double]
def flattenG[T : ClassTag](arrs: Seq[Array[T]]): Array[T]
def flattenI(arrs: Seq[Array[Int]]): Array[Int]
def flattenL(arrs: Seq[Array[Long]]): Array[Long]
def range(from: Int, until: Int): Array[Int]
def takeD(arr: Array[Double], offsets: Array[Int]): Array[Double]
def takeI(arr: Array[Int], offsets: Array[Int]): Array[Int]
def takeL(arr: Array[Long], offsets: Array[Int]): Array[Long]