Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Efficient RRB-Vectors An RRB-Vector is an efficient sequence data structure. It supports fast indexing, iteration, concatenation and splitting.
Comparison with Data.Sequence
Seq a is a container with a very similar API. RRB-Vectors are generally faster for indexing and iteration, while sequences are faster for access to the front/back (amortized <math>). -
The Vector a type is an RRB-Vector of elements of type a. This module should be imported qualified, to avoid name clashes with the Prelude.
Performance
The worst case running time complexities are given, with <math> referring to the number of elements in the vector (or <math>, <math>, etc. for multiple vectors). Note that all logarithms are base 16, so the constant factor for <math> operations is quite small.Implementation
The implementation uses Relaxed-Radix-Balanced trees, as described by- Nicolas Stucki, "Turning Relaxed Radix Balanced Vector from Theory into Practice for Scala Collections", January 2015.
matrixVectorMult4D :: Num a => Matrix4D a -> Vector4D a -> Vector4D arzk Rzk.TypeCheck No documentation available.
type
PVector = Array S Ix1 Doublesrtree Algorithm.SRTree.Likelihoods Vector of parameter values. Needs to be strict to be readily accesible.
type
PVector = Array S Ix1 Doublesrtree Data.SRTree.Eval Vector of parameter values. Needs to be strict to be readily accesible.
type
SRVector = Array D Ix1 Doublesrtree Data.SRTree.Eval Vector of target values
get_vector_storage :: Opt -> IO Wordsrtree Numeric.Optimization.NLOPT.Bindings No documentation available.
set_vector_storage :: Opt -> Word -> IO Resultsrtree Numeric.Optimization.NLOPT.Bindings No documentation available.
type
SymbolSenseVectorOrientation = (Symbol, String, String, String)symmetry-operations-symbols Data.Matrix.SymmetryOperationsSymbols.Common No documentation available.
-
type-map Data.TypeMap.Internal.Vector Vector-backed type-map.