Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
<.> ) :: FilePath -> Text -> FilePathsystem-filepath Filesystem.Path An alias for addExtension.
(
!<<. ) :: Bits a => a -> Int -> aghc-internal GHC.Internal.Data.Bits Infix version of unsafeShiftL.
(
!>>. ) :: Bits a => a -> Int -> aghc-internal GHC.Internal.Data.Bits Infix version of unsafeShiftR.
(
#. ) :: Coercible b c => (b -> c) -> (a -> b) -> a -> cghc-internal GHC.Internal.Data.Functor.Utils No documentation available.
newtype ((f :: k2 -> Type)
:.: (g :: k1 -> k2)) (p :: k1)ghc-internal GHC.Internal.Generics Composition of functors
(
!.! ) :: (Numeric r e, Source r e) => Vector r e -> Vector r e -> emassiv Data.Massiv.Array.Numeric Dot product of two vectors.
- Partial Throws an impure exception when lengths of vectors do not match
(
*. ) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix emassiv Data.Massiv.Array.Numeric Multiply each element of the array by a scalar value. Scalar is on the left.
Example
>>> let arr = Ix1 20 ..: 25 >>> arr Array D Seq (Sz1 5) [ 20, 21, 22, 23, 24 ] >>> 10 *. arr Array D Seq (Sz1 5) [ 200, 210, 220, 230, 240 ]
(
+. ) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix emassiv Data.Massiv.Array.Numeric Add a scalar to each element of the array. Array is on the right.
(
-. ) :: (Index ix, Numeric r e) => e -> Array r ix e -> Array r ix emassiv Data.Massiv.Array.Numeric Subtract each element of the array from a scalar. Array is on the right.
(
/. ) :: (Index ix, NumericFloat r e) => e -> Array r ix e -> Array r ix emassiv Data.Massiv.Array.Numeric Divide a scalar value by each element of the array.
e /. arr == e *. recipA arr
Example
>>> let arr = fromIntegral <$> (Ix1 20 ..: 25) :: Array D Ix1 Float >>> arr Array D Seq (Sz1 5) [ 20.0, 21.0, 22.0, 23.0, 24.0 ] >>> 100 /. arr Array D Seq (Sz1 5) [ 5.0, 4.7619047, 4.5454545, 4.347826, 4.1666665 ]