<commit_before>-----------------------------------------------------------------------------
-- |
-- Module     : BLAS.Vector.ST
-- Copyright  : Copyright (c) , <NAME> <<EMAIL>>
-- License    : BSD3
-- Maintainer : <NAME> <<EMAIL>>
-- Stability  : experimental
--
-- Mutable vectors in the ST monad.

module BLAS.Vector.ST (
    -- * The @STVector@ data type
    STVector,
    runVector,
    
    -- * Read-only Dense vector type class
    RVector( dimVector, unsafeWithVector ),
    
    -- * Creating new vectors
    newVector_,
    newVector,
    
    -- * Copying vectors
    newCopyVector,
    copyToVector,
    swapVector,

    -- * Vector views
    spliceVector,
    splitVectorAt,

    -- * Reading and writing vector elements
    readVector,
    writeVector,
    getElemsVector,
    getElemsVector',
    getAssocsVector,
    getAssocsVector',
    setElemsVector,
    setAssocsVector,    

    -- * List-like operations
    mapToVector,
    zipWithToVector,

    -- * Vector properties
    getSumVector,    
    getSumAbsVector,
    getNorm2Vector,
    getWhichMaxAbsVector,<commit_msg>Export indicesVector<commit_after>-----------------------------------------------------------------------------
-- |
-- Module     : BLAS.Vector.ST
-- Copyright  : Copyright (c) , <NAME> <<EMAIL>>
-- License    : BSD3
-- Maintainer : <NAME> <<EMAIL>>
-- Stability  : experimental
--
-- Mutable vectors in the ST monad.

module BLAS.Vector.ST (
    -- * The @STVector@ data type
    STVector,
    runVector,
    
    -- * Read-only Dense vector type class
    RVector( dimVector, unsafeWithVector ),
    
    -- * Creating new vectors
    newVector_,
    newVector,
    
    -- * Copying vectors
    newCopyVector,
    copyToVector,
    swapVector,

    -- * Vector views
    spliceVector,
    splitVectorAt,

    -- * Reading and writing vector elements
    readVector,
    writeVector,
    indicesVector,
    getElemsVector,
    getElemsVector',
    getAssocsVector,
    getAssocsVector',
    setElemsVector,
    setAssocsVector,    

    -- * List-like operations
    mapToVector,
    zipWithToVector,

    -- * Vector properties
    getSumVector,    
    getSumAbsVector,
    getNorm2Vector,
    getWhichMaxAbsVector,
{'fraction_non_alphanumeric': 0.16305329719963865, 'fraction_numerical': 0.0018066847335140017, 'mean_word_length': 1.8361075544174135, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5902789', 'n_tokens_mistral': 666, 'n_tokens_neox': 641, 'n_words': 149}