Rand¶
<auto-generated stub>
Related methods¶
def random(): Rep[A]
def randomElem(x: Rep[DenseVector[A]]): Rep[A]
def randomGaussian(): Rep[Double]
def randomInt(x: Rep[Int]): Rep[Int]
def reseed(): Rep[Unit]
def sample(v: Rep[IndexVector], pct: Rep[Double]): Rep[IndexVector]
def sample(v: Rep[DenseVector[A]], pct: Rep[Double]): Rep[DenseVector[A]]
def sample(m: Rep[DenseMatrix[A]], pct: Rep[Double], sampleRows: Rep[Boolean] = true): Rep[DenseMatrix[A]]
def shuffle(x: Rep[IndexVector]): Rep[IndexVector]
def shuffle(x: Rep[DenseVector[A]]): Rep[DenseVector[A]]
def shuffle(x: Rep[DenseMatrix[A]]): Rep[DenseMatrix[A]]