object VectorUtils

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def sortAndDistinct(indices: Array[Int], values: Array[Double], sumCollisions: Boolean = true): (Array[Int], Array[Double])

    Sort indices and associated values.

    Sort indices and associated values. Either sums or ignores values for collisions.

    indices

    indices to be sorted.

    values

    associated values to each index.

    sumCollisions

    if true values of index collisions are summed, otherwise ignored.