Packages

object Utils

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aa2bdm(a: Array[Array[Double]]): DenseMatrix[Double]

    Array[Array] to Breeze DenseMatrix conversion

    Array[Array] to Breeze DenseMatrix conversion

    Useful for unpacking matrices which have come back to Scala from R via rscala

    a

    A matrix represented as an array of arrays (row-major)

    returns

    A Breeze DenseMatrix representation of the matrix

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def backSolve(A: DenseMatrix[Double], Y: DenseMatrix[Double]): DenseMatrix[Double]

    Backsolve an upper-triangular linear system with multiple RHSs

    Backsolve an upper-triangular linear system with multiple RHSs

    A

    An upper-triangular matrix

    Y

    A matrix with columns corresponding to RHSs

    returns

    Matrix of solutions, X, to the linear system A X = Y

  7. def backSolve(A: DenseMatrix[Double], y: DenseVector[Double]): DenseVector[Double]

    Backsolve an upper-triangular linear system with a single RHS

    Backsolve an upper-triangular linear system with a single RHS

    A

    An upper-triangular matrix

    y

    A single vector RHS

    returns

    The solution, x, of the linear system A x = y

  8. def bdm2aa(m: DenseMatrix[Double]): Array[Array[Double]]

    Breeze DenseMatrix to Array[Array] conversion

    Breeze DenseMatrix to Array[Array] conversion

    Useful for sending matrices to R via rscala

    m

    A Breeze DenseMatrix

    returns

    The matrix as an array of arrays (row-major)

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def dct(x: DenseVector[Double]): DenseVector[Double]

    Discrete cosine transform (DCT) of a DenseVector

    Discrete cosine transform (DCT) of a DenseVector

    Normalised by a factor of 2/N

    x

    An input vector

    returns

    The normalised DCT-II of the input

  11. def dct2(X: DenseMatrix[Double], inverse: Boolean = false): DenseMatrix[Double]

    Discrete cosine transform (DCT) of a DenseMatrix

    Discrete cosine transform (DCT) of a DenseMatrix

    DCT applied to rows and columns

    X

    An input matrix

    inverse

    Inverse or forward transform. Defaults to false

    returns

    The normalised DCT-II of the input

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fCDF(x: Double, d1: Double, d2: Double): Double

    The CDF of the f-distribution

  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def forwardSolve(A: DenseMatrix[Double], y: DenseVector[Double]): DenseVector[Double]

    Forward solve a lower-triangular linear system with a single RHS

    Forward solve a lower-triangular linear system with a single RHS

    A

    A lower-triangular matrix

    y

    A single vector RHS

    returns

    The solution, x, of the linear system A x = y

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def idct(x: DenseVector[Double]): DenseVector[Double]

    Inverse discrete cosine transform (DCT) of a DenseVector

    Inverse discrete cosine transform (DCT) of a DenseVector

    Exactly inverts dct

    x

    An input vector containing a transform

    returns

    The (unnormalised) DCT-III of the input

  20. def idct2(x: DenseMatrix[Double]): DenseMatrix[Double]

    dct2(x, true)

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def pairs(mat: DenseMatrix[Double]): Figure

    pairs plot (for unlabeled variables)

    pairs plot (for unlabeled variables)

    mat

    a matrix with variables in columns and observations in rows

    returns

    The breeze-viz Figure object

  26. def pairs(mat: DenseMatrix[Double], names: Seq[String]): Figure

    pairs plot

    pairs plot

    mat

    a matrix with variables in columns and observations in rows

    names

    a sequence of variable names

    returns

    The breeze-viz Figure object

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def tCDF(t: Double, df: Double): Double

    The CDF of the t-distribution

  29. def time[A](f: => A): A

    A very simple function for timing computations - not for general use

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped