Stability | experimental |
---|---|
Maintainer | Patrick Perry <patperry@stanford.edu> |
Vector operations.
- class Elem a => BLAS1 a where
- dot :: ConjEnum -> ConjEnum -> Int -> Ptr a -> Int -> Ptr a -> Int -> IO a
- nrm2 :: Int -> Ptr a -> Int -> IO Double
- asum :: Int -> Ptr a -> Int -> IO Double
- iamax :: Int -> Ptr a -> Int -> IO Int
- scal :: Int -> a -> Ptr a -> Int -> IO ()
- swap :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- copy :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- axpy :: Int -> a -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- rotg :: Ptr a -> Ptr a -> Ptr a -> Ptr a -> IO ()
- rot :: Int -> Ptr a -> Int -> Ptr a -> Int -> Double -> Double -> IO ()
- vconj :: Int -> Ptr a -> Int -> IO ()
- acxpy :: Int -> a -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- vmul :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- vcmul :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- vdiv :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
- vcdiv :: Int -> Ptr a -> Int -> Ptr a -> Int -> IO ()
Documentation
class Elem a => BLAS1 a whereSource
Types with vector-vector operations.
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)
.