*

Multiplication of type-level naturals.
Multiply a scalar by a vector.
Infix shorthand for times.
Multiplication of 2 elements that result in another element
Multiplication
Multiplication
Multiplication of dimensions corresponds to addition of the base dimensions' exponents.
Multiplies two Quantitys or two Units. The intimidating type signature captures the similarity between these operations and ensures that composite Units are NonMetric.
Forms the product of two dimensions.
Forms the product of two dynamic units.
Form a UnitName by taking the product of two others.
Forms the product of two Variants. The product of units is a non-metric unit. The product of quantities is a quantity.
Overloaded multiplication.
Forms the product of ExactPi' types (in the arithmetic sense).
TypeInt multiplication.
The product of two type-level numbers. Due to changes in GHC 8.6, using this operator infix and unqualified requires the NoStarIsType language extension to be active. See the GHC 8.6.x migration guide for details: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.6
  • mul function is used to multiply the states with a constant.
>>> qZero * 5
(2><1)
[ 5.0 :+ 0.0, 0.0 :+ 0.0
, 0.0 :+ 0.0, 0.0 :+ 0.0 ]
Differentiable logging multiplication function.

Examples of usage

>>> import Control.Arrow (runKleisli)

>>> import Control.Monad.Logger (runStdoutLoggingT)

>>> import InfBackprop (call)
>>> runStdoutLoggingT $ runKleisli (call (*)) (6, 7)
[Info] Calculating multiplication of 6 and 7 => 42
42