blas-0.4.1: Bindings to the BLAS library
Source code
Contents
Index
BLAS.Elem.Base
Stability
experimental
Maintainer
Patrick Perry <patperry@stanford.edu>
Description
Synopsis
class
(
Storable
e,
Fractional
e) =>
Elem
e
where
conj
:: e -> e
norm
:: e ->
Double
norm1
:: e ->
Double
fromReal
::
Double
-> e
toReal
:: e ->
Double
Documentation
class
(
Storable
e,
Fractional
e) =>
Elem
e
where
Source
The base class for elements.
Methods
conj
:: e -> e
Source
Take the complex conjugate of a value. For real values this is equal to
id
.
norm
:: e ->
Double
Source
Get the magnitude of a value.
norm1
:: e ->
Double
Source
Get the l1 norm of a value.
fromReal
::
Double
-> e
Source
Convert a double to an element
toReal
:: e ->
Double
Source
Coerce an element to a double
Instances
Elem
Double
Elem
(
Complex
Double
)
Produced by
Haddock
version 2.3.0