Stream$.range
Code IndexAdd Codota to your IDE (free)

Best code snippets using scala.collection.immutable.Stream$.range(Showing top 2 results out of 315)

origin: apache/mahout

for (blockKey <- Stream.range(0, numPartitions)) yield {
 val blockStart = blockKey * blockHeight
 val blockEnd = ancol min (blockStart + blockHeight)
origin: apache/mahout

var mmulVal: Matrix = null
val current = Stream.range(0, n).map { _ => time {control = mxA.times(mxB)} }.sum.toDouble / n
val experimental = Stream.range(0, n).map { _ => time {mmulVal = MMul(mxA, mxB, None)} }.sum.toDouble / n
(control - mmulVal).norm should be < 1e-10
current -> experimental
var mmulVal: Matrix = null
val current = Stream.range(0, n).map { _ => time {control = mxA + mxB} }.sum.toDouble / n
val experimental = Stream.range(0, n).map { _ => time {mmulVal = mxA + mxB} }.sum.toDouble / n
(control - mmulVal).norm should be < 1e-10
current -> experimental
scala.collection.immutableStream$range

Popular methods of Stream$

  • canBuildFrom
  • empty
  • consWrapper
  • apply
  • continually
  • from

Popular classes and methods

  • getOriginalFilename (MultipartFile)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)