blas-0.6: Bindings to the BLAS librarySource codeContentsIndex
BLAS.Elem.Base
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Description
Synopsis
class (Storable e, Fractional e, Conj e) => Elem e where
norm :: e -> Double
norm1 :: e -> Double
fromReal :: Double -> e
toReal :: e -> Double
module BLAS.Conj
Documentation
class (Storable e, Fractional e, Conj e) => Elem e whereSource
The base class for elements.
Methods
norm :: e -> DoubleSource
Get the magnitude of a value.
norm1 :: e -> DoubleSource
Get the l1 norm of a value.
fromReal :: Double -> eSource
Convert a double to an element
toReal :: e -> DoubleSource
Coerce an element to a double
show/hide Instances
module BLAS.Conj
Produced by Haddock version 2.3.0