Object

org.clustering4ever.scala.umap

Utils

Related Doc: package umap

Permalink

object Utils extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Utils
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def makeMatrix(rows: DenseVector[Int], cols: DenseVector[Int], vals: DenseVector[Double], rowDim: Int, colDim: Int): DenseMatrix[Double]

    Permalink
  12. def mod(a: Int, b: Int): Int

    Permalink
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def rejectionSample(nSamples: Int, poolSize: Int, rngState: Array[Long]): Array[Long]

    Permalink

    Generate nSamples many Longegers from 0 to poolSize such that no Longeger is selected twice.

    Generate nSamples many Longegers from 0 to poolSize such that no Longeger is selected twice. The duplication constraLong is achieved via rejection sampling.

    nSamples

    The number of random samples to select from the pool

    poolSize

    The size of the total pool of candidates to sample from

    rngState

    Longernal state of the random number generator

    returns

    The nSamples randomly selected elements from the pool.

  17. def siftdown(arr1: DenseVector[Double], arr2: DenseVector[Int], elt: Int): Unit

    Permalink

    Restore the heap property for a heap with an out of place element at position elt.

    Restore the heap property for a heap with an out of place element at position elt. This works with a heap pair where arr1 carries the weights and arr2 holds the corresponding elements.

    arr1

    : DenseVector[Double] Heap carrying the weights

    arr2

    : DenseVector[Int] Heap holding the corresponding elements

  18. def submatrix(dmat: Array[Array[Double]], indicesCol: Array[Array[Int]], nNeighbors: Int): Array[Array[Double]]

    Permalink

    dmat

    Original matrix.

    indicesCol

    Indices to keep. Each row consists of the indices of the columns.

    nNeighbors

    Number of neighbors.

    returns

    The corresponding submatrix.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def tauRand(state: Array[Long]): Float

    Permalink

    A (pseudo)-random number generator for floats in the range [0,1]

    A (pseudo)-random number generator for floats in the range [0,1]

    state

    The Longernal state of the rng

    returns

    A (pseudo)-random float in the Longerval [0, 1]

  21. def tauRandInt(state: Array[Long]): Int

    Permalink

    state

    The Longernal state of the rng

    returns

    A (pseudo)-random Int value

  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped