Numeric.LinearAlgebra.Devel

FFI helpers

app

appVector

appVectorLen

appMatrix

appMatrixLen

appMatrixRaw

appMatrixRawLen

unsafeMatrixToVector

unsafeMatrixToForeignPtr

FFI tools

createVector

createMatrix

class TransArray c

data MatrixOrder

orderOf

cmat

fmat

matrixFromVector

unsafeFromForeignPtr

unsafeToForeignPtr

check

(//)

(#|)

at'

atM'

fi

ti

ST

Mutable Vectors

data STVector s t

newVector

thawVector

freezeVector

runSTVector

readVector

writeVector

modifyVector

liftSTVector

Mutable Matrices

data STMatrix s t

newMatrix

thawMatrix

freezeMatrix

runSTMatrix

readMatrix

writeMatrix

modifyMatrix

liftSTMatrix

mutable

extractMatrix

setMatrix

rowOper

data RowOper t

data RowRange

data ColRange

gemmm

data Slice s t

Unsafe functions

newUndefinedVector

unsafeReadVector

unsafeWriteVector

unsafeThawVector

unsafeFreezeVector

newUndefinedMatrix

unsafeReadMatrix

unsafeWriteMatrix

unsafeThawMatrix

unsafeFreezeMatrix

Special maps and zips

mapVectorWithIndex

zipVector

zipVectorWith

unzipVector

unzipVectorWith

mapVectorM

mapVectorM_

mapVectorWithIndexM

mapVectorWithIndexM_

foldLoop

foldVector

foldVectorG

foldVectorWithIndex

mapMatrixWithIndex

mapMatrixWithIndexM

mapMatrixWithIndexM_

liftMatrix

liftMatrix2

liftMatrix2Auto

Sparse representation

data CSR

fromCSR

mkCSR

data GMatrix

Misc

toByteString

fromByteString

showInternal