|Maintainer||Patrick Perry <email@example.com>|
Mutable vectors in the ST monad.
STVector data type
A safe way to create and work with a mutable vector before returning an immutable vector for later perusal. This function avoids copying the vector before returning it - it uses unsafeFreezeVector internally, but this wrapper is a safe interface to that function.
Dense vectors in the
ST monad. The type arguments are as follows:
s: the state variable argument for the
n: a phantom type for the dimension of the vector
e: the element type of the vector. Only certain element types are supported.
Overloaded mutable dense vector interface