| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Numeric.Rounded.Hardware.Vector.Storable
Synopsis
- coercion :: Coercion (Vector a) (Vector (Rounded r a))
- fromVectorOfRounded :: Vector (Rounded r a) -> Vector a
- toVectorOfRounded :: Vector a -> Vector (Rounded r a)
- coercionM :: Coercion (MVector s a) (MVector s (Rounded r a))
- fromMVectorOfRounded :: MVector s (Rounded r a) -> MVector s a
- toMVectorOfRounded :: MVector s a -> MVector s (Rounded r a)
- roundedSum :: RoundedRing_Vector vector a => RoundingMode -> vector a -> a
- zipWith_roundedAdd :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a
- zipWith_roundedSub :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a
- zipWith_roundedMul :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a
- zipWith3_roundedFusedMultiplyAdd :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a -> vector a
- zipWith_roundedDiv :: RoundedFractional_Vector vector a => RoundingMode -> vector a -> vector a -> vector a
- map_roundedSqrt :: RoundedSqrt_Vector vector a => RoundingMode -> vector a -> vector a
- sum :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Rounded r a
- zipWith_add :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a)
- zipWith_sub :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a)
- zipWith_mul :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a)
- zipWith3_fusedMultiplyAdd :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a)
- zipWith_div :: forall r a. (Rounding r, Storable a, RoundedFractional_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a)
- map_sqrt :: forall r a. (Rounding r, Storable a, RoundedSqrt_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a)
Conversion between VS.Vector a and VS.Vector (Rounded r a)
Specialized functions
roundedSum :: RoundedRing_Vector vector a => RoundingMode -> vector a -> a Source #
Equivalent to \r -> foldl (roundedAdd r) 0
zipWith_roundedAdd :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a Source #
Equivalent to zipWith . roundedAdd
zipWith_roundedSub :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a Source #
Equivalent to zipWith . roundedSub
zipWith_roundedMul :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a Source #
Equivalent to zipWith . roundedMul
zipWith3_roundedFusedMultiplyAdd :: RoundedRing_Vector vector a => RoundingMode -> vector a -> vector a -> vector a -> vector a Source #
Equivalent to zipWith3 . roundedFusedMultiplyAdd
zipWith_roundedDiv :: RoundedFractional_Vector vector a => RoundingMode -> vector a -> vector a -> vector a Source #
Equivalent to zipWith . roundedDiv
map_roundedSqrt :: RoundedSqrt_Vector vector a => RoundingMode -> vector a -> vector a Source #
Equivalent to map . roundedSqrt
sum :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Rounded r a Source #
Equivalent to sum
zipWith_add :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) Source #
Equivalent to zipWith (+)
zipWith_sub :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) Source #
Equivalent to zipWith (-)
zipWith_mul :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) Source #
Equivalent to zipWith (*)
zipWith3_fusedMultiplyAdd :: forall r a. (Rounding r, Storable a, RoundedRing_Vector Vector a) => Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) -> Vector (Rounded r a) Source #
Equivalent to zipWith3 fusedMultiplyAdd