A Mat instance containing elements of type Any
A Mat instance containing elements of type Boolean
An IndexedSeq of Vecs which must all have the same length; a container for 2D data for a Frame.
A Mat instance containing elements of type Double
A Mat instance containing elements of type Int
A Mat instance containing elements of type Long
Matrix mathematical helper routines.
Given a vector, create a matrix whose diagonal entries equal the vector, with zeros off-diagonal.
Given a vector, create a matrix whose diagonal entries equal the vector, with zeros off-diagonal.
The vector of source data
Create a square identity matrix of dimension n x n
Create a square identity matrix of dimension n x n
The number of rows/columns of the square matrix
Generate a uniform random Mat[Double] of a certain size
Generate a uniform random Mat[Double] of a certain size
Number of rows
Number of rows
Generate a uniform random Mat[Int] of a certain size
Generate a uniform random Mat[Int] of a certain size
Number of rows
Number of rows
Generate a uniform random Mat[Long] of a certain size
Generate a uniform random Mat[Long] of a certain size
Number of rows
Number of rows
Generate a gaussian(0, 1) random Mat[Double] of a certain size
Generate a gaussian(0, 1) random Mat[Double] of a certain size
Number of rows
Number of rows
Generate a gaussian(mu, sigma) random Mat[Double] of a certain size
Generate a gaussian(mu, sigma) random Mat[Double] of a certain size
Number of rows
Number of rows
Mean of distribution
Stdev of distribution
Generate a uniform random positive Mat[Double] of a certain size
Generate a uniform random positive Mat[Double] of a certain size
Number of rows
Number of rows
Generate a uniform random positive Mat[Int] of a certain size
Generate a uniform random positive Mat[Int] of a certain size
Number of rows
Number of rows
Generate a uniform random positive Mat[Long] of a certain size
Generate a uniform random positive Mat[Long] of a certain size
Number of rows
Number of rows
Repeats an array in a particular direction to create a 2D matrix
Repeats an array in a particular direction to create a 2D matrix
type of elements in array
array of values to repeat
number of repetitions
if true, returns row-tiling; default is column-tiling