Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype SVector size a Source #
SVector | |
|
Instances
Scale c a => Scale c (SVector size a) Source # | |
Foldable (SVector size) Source # | |
Defined in ZkFold.Base.Data.Sparse.Vector fold :: Monoid m => SVector size m -> m # foldMap :: Monoid m => (a -> m) -> SVector size a -> m # foldMap' :: Monoid m => (a -> m) -> SVector size a -> m # foldr :: (a -> b -> b) -> b -> SVector size a -> b # foldr' :: (a -> b -> b) -> b -> SVector size a -> b # foldl :: (b -> a -> b) -> b -> SVector size a -> b # foldl' :: (b -> a -> b) -> b -> SVector size a -> b # foldr1 :: (a -> a -> a) -> SVector size a -> a # foldl1 :: (a -> a -> a) -> SVector size a -> a # toList :: SVector size a -> [a] # null :: SVector size a -> Bool # length :: SVector size a -> Int # elem :: Eq a => a -> SVector size a -> Bool # maximum :: Ord a => SVector size a -> a # minimum :: Ord a => SVector size a -> a # | |
Functor (SVector size) Source # | |
KnownNat size => Semialign (SVector size) Source # | |
KnownNat size => Zip (SVector size) Source # | |
(KnownNat size, Arbitrary a) => Arbitrary (SVector size a) Source # | |
Show a => Show (SVector size a) Source # | |
(Binary a, KnownNat n) => Binary (SVector n a) Source # | |
(KnownNat size, Eq a) => Eq (SVector size a) Source # | |
(KnownNat size, AdditiveGroup a, Eq a) => AdditiveGroup (SVector size a) Source # | |
(KnownNat size, AdditiveMonoid a, Eq a) => AdditiveMonoid (SVector size a) Source # | |
Defined in ZkFold.Base.Data.Sparse.Vector | |
(KnownNat size, AdditiveMonoid a, Eq a) => AdditiveSemigroup (SVector size a) Source # | |
(.+) :: (KnownNat size, AdditiveMonoid a, Eq a) => SVector size a -> SVector size a -> SVector size a Source #
(.-) :: (KnownNat size, AdditiveGroup a, Eq a) => SVector size a -> SVector size a -> SVector size a Source #