"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 }
- Companion:
- object
trait ElementwiseUFunc
trait MappingUFunc
object UnivariateInterpolatorImpl.type
object convert.type
object logDiff.type
object OpNot.type
object i0.type
object celsiusToFahrenheit.type
object fahrenheitToCelsius.type
object acos.type
object acosh.type
object atan2.type
object cos.type
object cosh.type
object digamma.type
object erfc.type
object erfcinv.type
object erfi.type
object erfinv.type
object exp.type
object gammp.type
object gammq.type
object isEven.type
object isFinite.type
object lgamma.type
object log.type
object log10.type
object log1p.type
object log2.type
object logI.type
object logit.type
object multidigamma.type
object multidigammalog.type
object multiloggamma.type
object nextExponent.type
object nextExponent10.type
object nextExponent2.type
object nextPower.type
object nextPower10.type
object nextPower2.type
object pow.type
object sech.type
object sigmoid.type
object sinc.type
object sincpi.type
object step.type
object trigamma.type
object celsiusToFahrenheit.type
object fahrenheitToCelsius.type
object Beta.type
object CauchyDistribution.type
object ChiSquared.type
object Exponential.type
object FDistribution.type
object Gamma.type
object Gaussian.type
object LevyDistribution.type
object LogNormal.type
object StudentsT.type
object TriangularDistribution.type
object Uniform.type
object VariableKernelEmpiricalDistribution.type
object WeibullDistribution.type
trait ZeroPreservingUFunc
object i1.type
object I.type
object abs.type
object asin.type
object asinh.type
object atan.type
object atanh.type
object cbrt.type
object ceil.type
object erf.type
object expm1.type
object floor.type
object isNonfinite.type
object isOdd.type
object relu.type
object rint.type
object round.type
object signum.type
object sin.type
object sinh.type
object sqrt.type
object tan.type
object tanh.type
object toDegrees.type
object toRadians.type
object clip.type
object OpAdd.type
object OpAnd.type
object OpDiv.type
object OpEq.type
object OpGT.type
object OpGTE.type
object OpLT.type
object OpLTE.type
object OpMod.type
object OpMulScalar.type
object OpNe.type
object OpNeg.type
object OpOr.type
object OpPow.type
object OpSet.type
object OpSub.type
object OpXor.type
trait ShapedUFunc
object WrappedUFunc.type
object primitive.type
object LU.type
trait NormBasedDistance
object chebyshevDistance.type
object euclideanDistance.type
object manhattanDistance.type
trait RandomGeneratorUFunc[T]
object randn.type
object randomDouble.type
object randomInt.type
trait VectorizedReduceUFunc
object max.type
object min.type
object sum.type
object accumulate.type
object all.type
object any.type
object argmax.type
object argmin.type
object argsort.type
object argtopk.type
object cholesky.type
object cond.type
object cosineDistance.type
object det.type
object diag.type
trait diagLowPrio
trait diagLowPrio2
object diff.type
object dim.type
object eig.type
object justEigenvalues.type
object eigSym.type
object evdr.type
object fliplr.type
object flipud.type
object hsplit.type
object inv.type
object isClose.type
object kron.type
object logAndNormalize.type
object logNormalize.type
object logdet.type
object minMax.type
object minkowskiDistance.type
object mpow.type
object norm.type
object normalize.type
object pinv.type
object product.type
object ptp.type
object justQ.type
object justR.type
object justQ.type
object justR.type
object reduced.type
object qr.type
object qrp.type
object rank.type
object reshape.type
object reverse.type
object roll.type
object rot90.type
object scaleAdd.type
object shuffle.type
object softmax.type
object split.type
object squaredDistance.type
trait squaredDistanceLowPrio
object reduced.type
object svd.type
object svdr.type
object tanimotoDistance.type
object tile.type
object trace.type
object unique.type
object vsplit.type
object where.type
object zipValues.type
object OpMulInner.type
object OpMulMatrix.type
object OpSolveMatrixBy.type
trait OpType
object lbeta.type
object netPresentValue.type
object densePolyval.type
object fourierShift.type
object fourierTr.type
object iFourierShift.type
object iFourierTr.type
object rootMeanSquare.type
object accumulateAndCount.type
object sparse.type
object bincount.type
object corrcoeff.type
object covmat.type
object digitize.type
object hist.type
object mean.type
object meanAndVariance.type
object median.type
object mode.type
object population.type
object stddev.type
object population.type
object variance.type
object lasso.type
object leastSquares.type
object leastSquaresDestructive.type
object partition.type
object quickSelect.type
object quickSelectImpl.type
Type members
Types
Value members
Concrete methods
final def apply[@specialized(Int, Double, Float) V, @specialized(Int, Double, Float) VR](v: V)(implicit impl: Impl[V, VR]): VR
final def apply[@specialized(Int, Double, Float) V1, @specialized(Int, Double, Float) V2, @specialized(Int, Double, Float) VR](v1: V1, v2: V2)(implicit impl: Impl2[V1, V2, VR]): VR
final def apply[V1, @specialized(Int, Double, Float) V2, @specialized(Int, Double, Float) V3, @specialized(Int, Double, Float) VR](v1: V1, v2: V2, v3: V3)(implicit impl: Impl3[V1, V2, V3, VR]): VR
final def inPlace[V, V2, V3](v: V, v2: V2, v3: V3)(implicit impl: InPlaceImpl3[UFunc, V, V2, V3]): V