Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. productStencil :: (Num e, Index ix) => Sz ix -> Stencil ix e e

    massiv Data.Massiv.Array.Stencil

    Multiply all elements in the stencil region

    Examples

    >>> import Data.Massiv.Array as A
    
    >>> a = computeAs P $ iterateN (Sz2 2 2) (+1) (0 :: Int)
    
    >>> a
    Array P Seq (Sz (2 :. 2))
    [ [ 1, 2 ]
    , [ 3, 4 ]
    ]
    
    >>> applyStencil (Padding 0 2 (Fill 0)) (productStencil 2) a
    Array DW Seq (Sz (3 :. 3))
    [ [ 24, 0, 0 ]
    , [ 0, 0, 0 ]
    , [ 0, 0, 0 ]
    ]
    
    >>> applyStencil (Padding 0 2 Reflect) (productStencil 2) a
    Array DW Seq (Sz (3 :. 3))
    [ [ 24, 64, 24 ]
    , [ 144, 256, 144 ]
    , [ 24, 64, 24 ]
    ]
    

  2. productArray :: (FoldNumeric r e, Index ix) => Array r ix e -> e

    massiv Data.Massiv.Core.Operations

    Compute product of all elements in the array

  3. product' :: (Foldable t, Semiring a) => t a -> a

    semirings Data.Semiring

    The product' function computes the additive sum of the elements in a structure. This function is strict. For a lazy version, see product.

  4. product1 :: C a => [a] -> a

    numeric-prelude Algebra.Ring

    No documentation available.

  5. product1 :: C a => [a] -> a

    numeric-prelude NumericPrelude

    No documentation available.

  6. product1 :: C a => [a] -> a

    numeric-prelude NumericPrelude.Numeric

    No documentation available.

  7. productAdtDec :: Name -> [Type] -> Dec

    th-lego THLego.Helpers

    No documentation available.

  8. productAccessorIsLabel :: TyLit -> Type -> Type -> Name -> Int -> Int -> Dec

    th-lego THLego.Instances

    Instance of IsLabel for a member of a product type.

  9. productHasField :: TyLit -> Type -> Type -> Name -> Int -> Int -> Dec

    th-lego THLego.Instances

    Instance of HasField for a member of a product type.

  10. productMapperIsLabel :: TyLit -> Type -> Type -> Name -> Int -> Int -> Dec

    th-lego THLego.Instances

    Template of IsLabel for instances mapping to mapper functions.

    instance (mapper ~ (Text -> Text)) => IsLabel "name" (mapper -> Person -> Person)
    

Page 76 of many | Previous | Next