Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Data.VectorSpace

    Vector space type relation and basic instances. There can be other implementations of VectorSpace, for example you could implement it with linear like this:

    {-# LANGUAGE FlexibleInstances     #-}
    {-# LANGUAGE MultiParamTypeClasses #-}
    
    import FRP.Yampa
    import Linear    as L
    
    instance (Eq a, Floating a) => VectorSpace (V2 a) a where
    zeroVector = L.zero
    (*^) = (L.*^)
    (^) = (L.^)
    negateVector = L.negated
    (^+^) = (L.^+^)
    (^-^) = (L.^-^)
    dot = L.dot
    
    Using this you could benefit from more advanced vector operators and the improved performance linear brings while keeping a simple type class interface with few dependencies.

  2. class VectorSpace v a | v -> a

    simple-affine-space Data.VectorSpace

    Vector space type relation. A vector space is a set (type) closed under addition and multiplication by a scalar. The type of the scalar is the field of the vector space, and it is said that v is a vector space over a. The encoding uses a type class |VectorSpace| v a, where v represents the type of the vectors and a represents the types of the scalars.

  3. type VectorI = Int

    LambdaHack Game.LambdaHack.Common.Vector

    Enumeration representation of Vector.

  4. data Vector3 a

    OpenAL Sound.OpenAL

    A three-dimensional vector.

  5. Vector3 :: a -> a -> a -> Vector3 a

    OpenAL Sound.OpenAL

    No documentation available.

  6. type VectorField = Position -> Vec

    LPFP LPFP

    No documentation available.

  7. type VectorLineIntegral = VectorField -> Curve -> Vec

    LPFP LPFP

    No documentation available.

  8. type VectorSurfaceIntegral = VectorField -> Surface -> Vec

    LPFP LPFP

    No documentation available.

  9. type VectorVolumeIntegral = VectorField -> Volume -> Vec

    LPFP LPFP

    No documentation available.

  10. type VectorField = Position -> Vec

    LPFP LPFP.CoordinateSystems

    No documentation available.

Page 19 of many | Previous | Next