blas-0.7.6: Bindings to the BLAS library

Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>

Data.Elem.BLAS.Level1

Description

Vector operations.

Synopsis

Documentation

class Elem a => BLAS1 a whereSource

Types with vector-vector operations.

Methods

dot :: ConjEnum -> ConjEnum -> Int -> Ptr a -> Int -> Ptr a -> Int -> IO aSource

nrm2 :: Int -> Ptr a -> Int -> IO DoubleSource

asum :: Int -> Ptr a -> Int -> IO DoubleSource

iamax :: Int -> Ptr a -> Int -> IO IntSource

scal :: Int -> a -> Ptr a -> Int -> IO ()Source

swap :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

copy :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

axpy :: Int -> a -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

rotg :: Ptr a -> Ptr a -> Ptr a -> Ptr a -> IO ()Source

rot :: Int -> Ptr a -> Int -> Ptr a -> Int -> Double -> Double -> IO ()Source

vconj :: Int -> Ptr a -> Int -> IO ()Source

Replaces y with conj y.

acxpy :: Int -> a -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

Replaces y with alpha (conj x) + y

vmul :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

Replaces y with x*y.

vcmul :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

Replaces y with conj(x)*y.

vdiv :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

Replaces y with y/x.

vcdiv :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()Source

Replaces y with y/conj(x).