Utils
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Utils.type
Members list
Value members
Concrete methods
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
Attributes
- a
A matrix represented as an array of arrays (row-major)
- Returns:
A Breeze DenseMatrix representation of the matrix
Backsolve an upper-triangular linear system with a single RHS
Backsolve an upper-triangular linear system with a single RHS
Attributes
- A
An upper-triangular matrix
- y
A single vector RHS
- Returns:
The solution, x, of the linear system A x = y
Backsolve an upper-triangular linear system with multiple RHSs
Backsolve an upper-triangular linear system with multiple RHSs
Attributes
- 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
Breeze DenseMatrix to Array[Array] conversion
Breeze DenseMatrix to Array[Array] conversion
Useful for sending matrices to R via rscala
Attributes
- m
A Breeze DenseMatrix
- Returns:
The matrix as an array of arrays (row-major)
Discrete cosine transform (DCT) of a DenseVector
Discrete cosine transform (DCT) of a DenseVector
Normalised by a factor of 2/N
Attributes
- x
An input vector
- Returns:
The normalised DCT-II of the input
Discrete cosine transform (DCT) of a DenseMatrix
Discrete cosine transform (DCT) of a DenseMatrix
DCT applied to rows and columns
Attributes
- X
An input matrix
- inverse
Inverse or forward transform. Defaults to
false
- Returns:
The normalised DCT-II of the input
The CDF of the f-distribution
The CDF of the f-distribution
Attributes
Forward solve a lower-triangular linear system with a single RHS
Forward solve a lower-triangular linear system with a single RHS
Attributes
- A
A lower-triangular matrix
- y
A single vector RHS
- Returns:
The solution, x, of the linear system A x = y
Inverse discrete cosine transform (DCT) of a DenseVector
Inverse discrete cosine transform (DCT) of a DenseVector
Exactly inverts dct
Attributes
- x
An input vector containing a transform
- Returns:
The (unnormalised) DCT-III of the input
dct2(x, true)
dct2(x, true)
Attributes
pairs plot
pairs plot
Attributes
- mat
a matrix with variables in columns and observations in rows
- names
a sequence of variable names
- Returns:
The breeze-viz Figure object
pairs plot (for unlabeled variables)
pairs plot (for unlabeled variables)
Attributes
- mat
a matrix with variables in columns and observations in rows
- Returns:
The breeze-viz Figure object
The CDF of the t-distribution
The CDF of the t-distribution
Attributes
A very simple function for timing computations - not for general use
A very simple function for timing computations - not for general use