Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a placeholder for Linear.Sparse

  • Loading branch information...
commit cfb9b3b7561bcd2e8c90781f15f3dc269d356aa2 1 parent 94a7c16
John Wiegley authored
Showing with 29 additions and 0 deletions.
  1. +1 −0  linear.cabal
  2. +2 −0  src/Linear.hs
  3. +26 −0 src/Linear/Sparse.hs
View
1  linear.cabal
@@ -46,6 +46,7 @@ library
Linear.V3
Linear.V4
Linear.Vector
+ Linear.Sparse
ghc-options: -Wall -fwarn-tabs -O2 -fdicts-cheap -funbox-strict-fields
hs-source-dirs: src
View
2  src/Linear.hs
@@ -23,6 +23,7 @@ module Linear
, module Linear.V3
, module Linear.V4
, module Linear.Vector
+ , module Linear.Sparse
) where
import Linear.Conjugate
@@ -36,5 +37,6 @@ import Linear.V2
import Linear.V3
import Linear.V4
import Linear.Vector
+import Linear.Sparse
{-# ANN module "Hlint: ignore Use import/export shortcut" #-}
View
26 src/Linear/Sparse.hs
@@ -0,0 +1,26 @@
+-----------------------------------------------------------------------------
+-- |
+-- Module : Linear.Sparse
+-- Copyright : (C) 2013 John Wiegley,
+-- (C) 2012-2013 Edward Kmett
+-- License : BSD-style (see the file LICENSE)
+--
+-- Maintainer : John Wiegley <johnw@fpcomplete.com>,
+-- Edward Kmett <ekmett@gmail.com>
+-- Stability : experimental
+-- Portability : non-portable
+--
+-- Representation and operations on sparse vector spaces and matrices
+----------------------------------------------------------------------------
+module Linear.Sparse where
+
+import Control.Applicative
+import Control.Monad (join)
+import Data.Distributive
+import Data.Foldable as Foldable
+import Linear.Epsilon
+import Linear.Metric
+import Linear.Vector ((*^))
+import Linear.Conjugate
+
+{- Content goes here. -}

0 comments on commit cfb9b3b

Please sign in to comment.
Something went wrong with that request. Please try again.