package generic
- Alphabetic
- Public
- All
Type Members
- trait ActiveMappingUFunc extends MappingUFuncLowPrio
- sealed trait ActiveMappingUFuncLowPrio extends AnyRef
- trait MMRegistry1[M] extends AnyRef
- trait MMRegistry2[R] extends AnyRef
- trait MMRegistry3[R] extends AnyRef
- trait MappingUFunc extends MappingUFuncLowPrio
- sealed trait MappingUFuncLowPrio extends AnyRef
-
trait
MethodImpl[A, +R] extends AnyRef
Basically Function1, but not because we don't want these coming up when implicit search happens...
-
trait
Multimethod[Method, A <: AnyRef, R] extends MMRegistry1[Method]
A Multimethod is basically a glorified registry that uses dynamic reflection (and subtyping) to determine which version of the method to invoke.
- trait Multimethod2[Method[AA, BB, RR] <: (AA, BB) ⇒ RR, A, B, R] extends (A, B) ⇒ R with MMRegistry2[Method[_ <: A, _ <: B, _ <: R]]
-
trait
Multiproc2[Method[AA, BB] <: (AA, BB) ⇒ Unit, A <: AnyRef, B] extends (A, B) ⇒ Unit with MMRegistry2[Method[_ <: A, _ <: B]]
A Multiproc2 is a Multimethod that is guaranteed to return Unit
-
trait
UFunc extends AnyRef
"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 }
- trait VariableUFunc[U <: UFunc, T <: VariableUFunc[U, T]] extends AnyRef
- case class WrappedUFunc1[A1, R](f: (A1) ⇒ R) extends VariableUFunc[WrappedUFunc.type, WrappedUFunc1[A1, R]] with Product with Serializable
- case class WrappedUFunc2[A1, A2, R](f: (A1, A2) ⇒ R) extends VariableUFunc[WrappedUFunc.type, WrappedUFunc2[A1, A2, R]] with Product with Serializable
- trait WrappedUFuncLowPrio extends AnyRef
Value Members
- object UFunc
- object WrappedUFunc extends UFunc with WrappedUFuncLowPrio