Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data Affine a = Affine {
- getAffine1 :: !a
- getAffine0 :: !a
Documentation
a x + b
Affine | |
|
Instances
Unbox a => Vector Vector (Affine a) Source # | |
Defined in Data.Monoid.Affine basicUnsafeFreeze :: Mutable Vector s (Affine a) -> ST s (Vector (Affine a)) basicUnsafeThaw :: Vector (Affine a) -> ST s (Mutable Vector s (Affine a)) basicLength :: Vector (Affine a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Affine a) -> Vector (Affine a) basicUnsafeIndexM :: Vector (Affine a) -> Int -> Box (Affine a) basicUnsafeCopy :: Mutable Vector s (Affine a) -> Vector (Affine a) -> ST s () | |
Unbox a => MVector MVector (Affine a) Source # | |
Defined in Data.Monoid.Affine basicLength :: MVector s (Affine a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Affine a) -> MVector s (Affine a) basicOverlaps :: MVector s (Affine a) -> MVector s (Affine a) -> Bool basicUnsafeNew :: Int -> ST s (MVector s (Affine a)) basicInitialize :: MVector s (Affine a) -> ST s () basicUnsafeReplicate :: Int -> Affine a -> ST s (MVector s (Affine a)) basicUnsafeRead :: MVector s (Affine a) -> Int -> ST s (Affine a) basicUnsafeWrite :: MVector s (Affine a) -> Int -> Affine a -> ST s () basicClear :: MVector s (Affine a) -> ST s () basicSet :: MVector s (Affine a) -> Affine a -> ST s () basicUnsafeCopy :: MVector s (Affine a) -> MVector s (Affine a) -> ST s () basicUnsafeMove :: MVector s (Affine a) -> MVector s (Affine a) -> ST s () basicUnsafeGrow :: MVector s (Affine a) -> Int -> ST s (MVector s (Affine a)) | |
Num a => Monoid (Affine a) Source # | |
Num a => Semigroup (Affine a) Source # | |
Show a => Show (Affine a) Source # | |
Eq a => Eq (Affine a) Source # | |
Unbox a => Unbox (Affine a) Source # | |
Defined in Data.Monoid.Affine | |
Num a => AsSemigroupEndo (Affine a) (RangedSum a) Source # | |
newtype MVector s (Affine a) Source # | |
Defined in Data.Monoid.Affine | |
newtype Vector (Affine a) Source # | |
Defined in Data.Monoid.Affine |