safe-tensor-0.2.0.0: Dependently typed tensor algebra
Math.Tensor.Safe.Vector
Description
Length-typed vector.
data Vec :: N -> Type -> Type where Source #
Constructors
Defined in Math.Tensor.Safe.Vector
Methods
(==) :: Vec n a -> Vec n a -> Bool #
(/=) :: Vec n a -> Vec n a -> Bool #
compare :: Vec n a -> Vec n a -> Ordering #
(<) :: Vec n a -> Vec n a -> Bool #
(<=) :: Vec n a -> Vec n a -> Bool #
(>) :: Vec n a -> Vec n a -> Bool #
(>=) :: Vec n a -> Vec n a -> Bool #
max :: Vec n a -> Vec n a -> Vec n a #
min :: Vec n a -> Vec n a -> Vec n a #
showsPrec :: Int -> Vec n a -> ShowS #
show :: Vec n a -> String #
showList :: [Vec n a] -> ShowS #
vecFromListUnsafe :: forall (n :: N) a. Sing n -> [a] -> Vec n a Source #