object Utils
- Alphabetic
- By Inheritance
- Utils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- 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
- 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)
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fCDF(x: Double, d1: Double, d2: Double): Double
The CDF of the f-distribution
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tCDF(t: Double, df: Double): Double
The CDF of the t-distribution
- def time[A](f: => A): A
A very simple function for timing computations - not for general use
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()