hblas-0.3.0.1: Human friendly BLAS and Lapack bindings for Haskell.

Safe HaskellNone

Numerical.HBLAS.BLAS.FFI

Synopsis

Documentation

newtype CBLAS_INDEX Source

For All of the BlAS FFI operations,

Constructors

CBIndex CSize 

newtype CBLAS_ORDERT Source

Constructors

CBOInt CInt 

newtype CBLAS_UPLOT Source

Constructors

CBlasUPLO CInt 

data BLASUplo Source

Constructors

BUpper 
BLower 

Instances

data BlasDiag Source

Constructors

BlasNonUnit 
BlasUnit 

Instances

newtype CBLAS_SIDET Source

Constructors

CBLAS_SideT 

data BlasSide Source

Constructors

BlasLeft 
BlasRight 

Instances

type GemvFunFFI sc el = CBLAS_ORDERT -> CBLAS_TRANSPOSET -> CInt -> CInt -> sc -> Ptr el -> CInt -> Ptr el -> CInt -> sc -> Ptr el -> CInt -> IO ()Source

type SymvFunFFI el = CBLAS_ORDERT -> CBLAS_UPLOT -> CInt -> el -> Ptr el -> CInt -> Ptr el -> CInt -> el -> Ptr el -> CInt -> IO ()Source

matrix vector product Av, writes result into v, where A is a packed triangular nxn matrix

type GemmFunFFI scale el = CBLAS_ORDERT -> CBLAS_TRANSPOSET -> CBLAS_TRANSPOSET -> CInt -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source

Matrix mult for general dense matrices

type SymmFunFFI scale el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_UPLOT -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source

type SyrkFunFFI scale el = CBLAS_ORDERT -> CBLAS_UPLOT -> CBLAS_TRANSPOSET -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source

type Syr2kFunFFI scale el = CBLAS_ORDERT -> CBLAS_UPLOT -> CBLAS_TRANSPOSET -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source

type TrmmFunFFI scale el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_UPLOT -> CBLAS_TRANSPOSET -> CBLAS_DIAGT -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> Ptr el -> CInt -> IO ()Source

type TrsmFunFFI scale el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_UPLOT -> CBLAS_TRANSPOSET -> CBLAS_DIAGT -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> Ptr el -> CInt -> IO ()Source

type HemmFunFFI el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_UPLOT -> CInt -> CInt -> Ptr el -> Ptr el -> CInt -> Ptr el -> CInt -> Ptr el -> CInt -> IO ()Source

hermitian matrix mult

type HerkFun scale el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_TRANSPOSET -> CInt -> CInt -> scale -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source

type Her2kFunFFI scale el = CBLAS_ORDERT -> CBLAS_SIDET -> CBLAS_TRANSPOSET -> CInt -> CInt -> Ptr el -> Ptr el -> CInt -> Ptr el -> CInt -> scale -> Ptr el -> CInt -> IO ()Source