Package

breeze

generic

Permalink

package generic

Visibility
  1. Public
  2. All

Type Members

  1. trait MMRegistry1[M] extends AnyRef

    Permalink
  2. trait MMRegistry2[R] extends AnyRef

    Permalink
  3. trait MMRegistry3[R] extends AnyRef

    Permalink
  4. trait MappingUFunc extends MappingUFuncLowPrio

    Permalink
  5. sealed trait MappingUFuncLowPrio extends AnyRef

    Permalink
  6. trait MethodImpl[A, +R] extends AnyRef

    Permalink

    Basically Function1, but not because we don't want these coming up when implicit search happens...

  7. trait Multimethod[Method, A <: AnyRef, R] extends MMRegistry1[Method]

    Permalink

    A Multimethod is basically a glorified registry that uses dynamic reflection (and subtyping) to determine which version of the method to invoke.

  8. trait Multimethod2[Method[AA, BB, RR] <: (AA, BB) ⇒ RR, A, B, R] extends (A, B) ⇒ R with MMRegistry2[Method[_ <: A, _ <: B, _ <: R]]

    Permalink
  9. trait Multiproc2[Method[AA, BB] <: (AA, BB) ⇒ Unit, A <: AnyRef, B] extends (A, B) ⇒ Unit with MMRegistry2[Method[_ <: A, _ <: B]]

    Permalink

    A Multiproc2 is a Multimethod that is guaranteed to return Unit

  10. trait UFunc extends AnyRef

    Permalink

    "Universal" Functions that mimic numpy's.

    "Universal" Functions that mimic numpy's. A universal function is typically defined on anything that supports elementwise maps.

    For example, exp is a UFunc: It just calls exp on all components of the passed in object.

    Moreover, "operators" like breeze.linalg.operators.OpAdd are UFuncs as well, with syntactic sugar provided by way of breeze.linalg.NumericOps.

    Additional implementations can be added as implicits by extending a UFunc's Impl, InPlaceImpl, or SinkImpl traits. For example, breeze.math.Complex extends breeze.numerics.log with the following implicit:

    implicit object logComplexImpl extends breeze.numerics.log.Impl[Complex, Complex] { def apply(v: Complex) = v.log }
  11. trait VariableUFunc[U <: UFunc, T <: VariableUFunc[U, T]] extends AnyRef

    Permalink
  12. case class WrappedUFunc1[A1, R](f: (A1) ⇒ R) extends VariableUFunc[WrappedUFunc.type, WrappedUFunc1[A1, R]] with Product with Serializable

    Permalink
  13. case class WrappedUFunc2[A1, A2, R](f: (A1, A2) ⇒ R) extends VariableUFunc[WrappedUFunc.type, WrappedUFunc2[A1, A2, R]] with Product with Serializable

    Permalink
  14. trait WrappedUFuncLowPrio extends AnyRef

    Permalink

Value Members

  1. object UFunc

    Permalink
  2. object WrappedUFunc extends UFunc with WrappedUFuncLowPrio

    Permalink

Ungrouped