WeightedT

schrodinger.montecarlo.WeightedT$package$.WeightedT$
object WeightedT

Attributes

Source:
WeightedT.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply[F[_], W, A](fwa: F[Weighted[W, A]]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def fromWeighted[F[_], W, A](wa: Weighted[W, A])(using evidence$7: Applicative[F]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def liftF[F[_], W, A](fa: F[A])(using evidence$3: Functor[F], evidence$4: MultiplicativeMonoid[W]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def liftFunctionK[F[_], G[_], A](f: FunctionK[F, G]): FunctionK[[_] =>> WeightedT[F, A, _$10], [_] =>> WeightedT[G, A, _$11]]

Attributes

Source:
WeightedT.scala
def liftK[F[_], W](using evidence$5: Applicative[F], evidence$6: MultiplicativeMonoid[W]): FunctionK[F, [_] =>> WeightedT[F, W, _$6]]

Attributes

Source:
WeightedT.scala
def pure[F[_], W, A](a: A)(using evidence$1: Applicative[F], evidence$2: MultiplicativeMonoid[W]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala

Givens

Inherited givens

given given_Bernoulli_WeightedT_P_B[F[_], W, P, B](using evidence$10: FlatMap[F], evidence$11: MultiplicativeMonoid[W], r: Bernoulli[F, P, B], d: Bernoulli[[_] =>> Density[F, W, _$45], P, B]): given_Bernoulli_WeightedT_P_B[F, W, P, B]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Beta_WeightedT_A[F[_], W, A](using evidence$26: FlatMap[F], evidence$27: MultiplicativeMonoid[W], r: Beta[F, A], d: Beta[[_] =>> Density[F, W, _$69], A]): given_Beta_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Categorical_WeightedT_V_I[F[_], W, V, I](using evidence$14: FlatMap[F], evidence$15: MultiplicativeMonoid[W], r: Categorical[F, V, I], d: Categorical[[_] =>> Density[F, W, _$51], V, I]): given_Categorical_WeightedT_V_I[F, W, V, I]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Defer_WeightedT[F[_], W](using F: Defer[F]): given_Defer_WeightedT[F, W]

Attributes

Inherited from:
WeightedTInstances (hidden)
Source:
WeightedT.scala
given given_Dirichlet_WeightedT_A[F[_], W, A](using evidence$28: FlatMap[F], evidence$29: MultiplicativeMonoid[W], r: Dirichlet[F, A], d: Dirichlet[[_] =>> Density[F, W, _$72], A]): given_Dirichlet_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_DiscreteUniform_WeightedT_I[F[_], W, I](using evidence$12: FlatMap[F], evidence$13: MultiplicativeMonoid[W], r: DiscreteUniform[F, I], d: DiscreteUniform[[_] =>> Density[F, W, _$48], I]): given_DiscreteUniform_WeightedT_I[F, W, I]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Eq_WeightedT[F[_], W, A](using F: Eq[F[Weighted[W, A]]]): Eq[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances2 (hidden)
Source:
WeightedT.scala
given given_Exponential_WeightedT_A[F[_], W, A](using evidence$20: FlatMap[F], evidence$21: MultiplicativeMonoid[W], r: Exponential[F, A], d: Exponential[[_] =>> Density[F, W, _$60], A]): given_Exponential_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_FairBernoulli_WeightedT_B[F[_], W, B](using evidence$8: FlatMap[F], evidence$9: MultiplicativeMonoid[W], r: FairBernoulli[F, B], d: FairBernoulli[[_] =>> Density[F, W, _$42], B]): given_FairBernoulli_WeightedT_B[F, W, B]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Gamma_WeightedT_A[F[_], W, A](using evidence$22: FlatMap[F], evidence$23: MultiplicativeMonoid[W], r: Gamma[F, A], d: Gamma[[_] =>> Density[F, W, _$63], A]): given_Gamma_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Gaussian_WeightedT_A[F[_], W, A](using evidence$16: FlatMap[F], evidence$17: MultiplicativeMonoid[W], r: Gaussian[F, A], d: Gaussian[[_] =>> Density[F, W, _$54], A]): given_Gaussian_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Hash_WeightedT[F[_], W, A](using F: Hash[F[Weighted[W, A]]]): Hash[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances1 (hidden)
Source:
WeightedT.scala
given given_InvariantSemigroupal_WeightedT[F[_], W](using Applicative[F], Semiring[W], Eq[W]): InvariantSemigroupal[[_] =>> WeightedT[F, W, _$30]]

Attributes

Inherited from:
WeightedTInstances (hidden)
Source:
WeightedT.scala
given given_Invariant_WeightedT[F[_], W](using Invariant[F]): Invariant[[_] =>> WeightedT[F, W, _$34]]

Attributes

Inherited from:
WeightedTInstances0 (hidden)
Source:
WeightedT.scala
given given_LogNormal_WeightedT_A[F[_], W, A](using evidence$18: FlatMap[F], evidence$19: MultiplicativeMonoid[W], r: LogNormal[F, A], d: LogNormal[[_] =>> Density[F, W, _$57], A]): given_LogNormal_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala
given given_Monoid_WeightedT[F[_], W, A](using F: Monoid[F[Weighted[W, A]]]): Monoid[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances (hidden)
Source:
WeightedT.scala
given given_Order_WeightedT[F[_], W, A](using F: Order[F[Weighted[W, A]]]): Order[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances (hidden)
Source:
WeightedT.scala
given given_PartialOrder_WeightedT[F[_], W, A](using F: PartialOrder[F[Weighted[W, A]]]): PartialOrder[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances0 (hidden)
Source:
WeightedT.scala
given given_Semigroup_WeightedT[F[_], W, A](using F: Semigroup[F[Weighted[W, A]]]): Semigroup[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances0 (hidden)
Source:
WeightedT.scala
given given_Show_WeightedT[F[_], W, A](using F: Show[F[Weighted[W, A]]]): Show[WeightedT[F, W, A]]

Attributes

Inherited from:
WeightedTInstances (hidden)
Source:
WeightedT.scala
given given_Uniform_WeightedT_A[F[_], W, A](using evidence$24: FlatMap[F], evidence$25: MultiplicativeMonoid[W], r: Uniform[F, A], d: Uniform[[_] =>> Density[F, W, _$66], A]): given_Uniform_WeightedT_A[F, W, A]

Attributes

Inherited from:
WeightedTDistributionInstances (hidden)
Source:
WeightedT.scala

Extensions

Extensions

extension [F[_], W, A](wfa: WeightedT[F, W, A])
def imap[B](f: A => B)(g: B => A)(using F: Invariant[F]): WeightedT[F, W, B]

Attributes

Source:
WeightedT.scala
def importance(f: A => W)(using F: Applicative[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def importanceF(f: A => F[W])(using F: Monad[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def mapK[G[_]](f: FunctionK[F, G]): WeightedT[G, W, A]

Attributes

Source:
WeightedT.scala
def product[B](wfb: WeightedT[F, W, B])(using F: Applicative[F], W: Semiring[W], eq: Eq[W]): WeightedT[F, W, (A, B)]

Attributes

Source:
WeightedT.scala
def semiflatMap[B](f: A => F[B])(using F: Monad[F]): WeightedT[F, W, B]

Attributes

Source:
WeightedT.scala
def semiflatTap[B](f: A => F[B])(using F: Monad[F]): WeightedT[F, W, A]

Attributes

Source:
WeightedT.scala
def show(using F: Show[F[Weighted[W, A]]]): String

Attributes

Source:
WeightedT.scala
def value: F[Weighted[W, A]]

Attributes

Source:
WeightedT.scala