numbers-3000.2.0.2: Various number types

Safe HaskellSafe
LanguageHaskell98

Data.Number.Vectorspace

Synopsis

Documentation

class Vectorspace s v | v -> s where Source #

Class of vector spaces v with scalar s.

Minimal complete definition

(*>), (<+>), vnegate, vzero

Methods

(*>) :: s -> v -> v Source #

(<+>) :: v -> v -> v Source #

vnegate :: v -> v Source #

vzero :: v Source #