Entropy1

izumi.functional.bio.Entropy1
See theEntropy1 companion object
trait Entropy1[F[_]] extends DivergenceHelper

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Standard.type

Members list

Concise view

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Value members

Abstract methods

def nextBoolean(): F[Boolean]
def nextBytes(length: Int): F[Array[Byte]]
def nextDouble(): F[Double]

Attributes

Returns:

0.0d to 1.0d

def nextFloat(): F[Float]

Attributes

Returns:

0.0f to 1.0f

def nextGaussian(): F[Double]
def nextInt(): F[Int]
def nextInt(max: Int): F[Int]

Attributes

Returns:

0 to max

def nextLong(): F[Long]
def nextLong(max: Long): F[Long]

Attributes

Returns:

0L to max

def nextPrintableChar(): F[Char]
def nextString(length: Int): F[String]
def nextTimeUUID(): F[UUID]
def nextUUID(): F[UUID]
def setSeed(seed: Long): F[Unit]
def shuffle[T, CC <: (IterableOnce)](xs: CC[T])(implicit bf: BuildFrom[CC[T], T, CC[T]]): F[CC[T]]
def withSeed(seed: Long): Entropy1[F]
def writeRandomBytes(bytes: Array[Byte]): F[Unit]

Concrete methods

final def widen[G[x]]: Entropy1[G]