Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Vector e = Vector {}
- module Numeric.Jalla.CVector
Data Types
Vector is the CVector
type that is used in Jalla.
Somehow Haddock does not want to create documentation for the class instances
of Vector
, I try to figure it out.
BlasOps e => VectorScalar Vector e Source | |
BlasOps e => VectorVector Vector e Source | |
BlasOps e => CVector Vector e Source | |
BlasOps e => GVector Vector e Source | |
(BlasOps e, Eq e) => Eq (Vector e) Source | |
(BlasOps e, Num e, Fractional e) => Floating (Vector e) Source | An instance of |
(BlasOps e, Num e, Fractional e) => Fractional (Vector e) Source | |
(BlasOps e, Num e) => Num (Vector e) Source | Num instance for a Vector.
The operations are all element-wise. There may be the occasional error
by wrongly assuming that (*) returns the inner product, which it doesn't.
This instance is basically only provided to get the + and - operators.
Note that this will not work with |
(BlasOps e, Show e) => Show (Vector e) Source | |
BlasOps e => Indexable (Vector e) Index e Source |
module Numeric.Jalla.CVector