DPutils-0.0.2.0: utilities for DP

Safe HaskellNone
LanguageHaskell2010

Data.Paired.Vector

Synopsis

Documentation

upperTriVG :: (Vector v a, Vector w (a, a)) => OnDiag -> v a -> (Int, w (a, a)) Source #

Upper triangular elements.

rectangularVG :: (Vector va a, Vector vb b, Vector w (a, b)) => va a -> vb b -> (Int, w (a, b)) Source #

Outer pairing of all as with all bs. This one is quasi-trivial, but here for completeness.