Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
product :: (C sh, Floating a) => T shA sh a -> acomfort-blas Numeric.BLAS.Vector.Slice QC.forAll genShape $ \sh@(_::+(_rows,columns)::+_) -> QC.forAll (QC.elements (Shape.indices columns)) $ \c -> QC.forAll (genVector sh $ genNumber 3) $ \xt -> let xs = takeColumn c xt in approx 1e-2 (VectorSlice.product xs) (List.product (listFromSlice (xs :: Sliced Number_)))
product :: (Num a, Foldable f) => f (Dimensionless a) -> Dimensionless adimensional Numeric.Units.Dimensional The product of all elements in a foldable structure.
>>> product ([] :: [Dimensionless Double]) 1.0
>>> product [pi, _4, 0.36 *~ one] 4.523893421169302
product :: (Num a, Foldable f) => f (Dimensionless a) -> Dimensionless adimensional Numeric.Units.Dimensional.Prelude The product of all elements in a foldable structure.
>>> product ([] :: [Dimensionless Double]) 1.0
>>> product [pi, _4, 0.36 *~ one] 4.523893421169302
product :: Foldable f => f (UnitName 'NonMetric) -> UnitName 'NonMetricdimensional Numeric.Units.Dimensional.UnitNames Forms the product of a list of UnitNames. If you wish to form a heterogenous product of Metric and NonMetric units you should apply weaken to the Metric ones.
product :: (Foldable t, Num a) => t a -> adistribution-opensuse OpenSuse.Prelude The product function computes the product of the numbers of a structure.
Examples
Basic usage:>>> product [] 1
>>> product [42] 42
>>> product [1..10] 3628800
>>> product [4.1, 2.0, 1.7] 13.939999999999998
>>> product [1..] * Hangs forever *
product :: (Ix a, Ix b, Ix c) => Relation a b -> Relation b c -> Relation a cersatz Ersatz.Relation Constructs the composition <math> of the relations <math> and <math>, which is defined by <math>. Formula size: linear in <math>
-
invertible Data.Invertible.Monoid (Un)wrap the Product monoid.
product :: (Num a, Monad m) => Stream m a -> m aleveldb-haskell Data.Stream.Monadic No documentation available.
product :: PrimQueryFoldP a p p' -> NonEmpty (Lateral, p) -> [PrimExpr] -> p'opaleye Opaleye.Internal.PrimQuery No documentation available.
product :: NonEmpty (Lateral, Select) -> [PrimExpr] -> Selectopaleye Opaleye.Internal.Sql No documentation available.