initial commit, still work in progress

This commit is contained in:
Mahdi Dibaiee
2016-07-17 16:53:13 +04:30
commit 59ab00e9c2
80 changed files with 472 additions and 0 deletions

Submodule .stack-work/downloaded/4bcc5e87765a259958ded16b9e26c1e7552fd59926eb091b838d968d3cd9dda0 added at 42a88fbcb6

View File

@ -0,0 +1,26 @@
Copyright (c) 2006-2014 Alberto Ruiz and other contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Alberto Ruiz nor the names of other contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,53 @@
name: hmatrix
version: 0.18.0.0
id: hmatrix-0.18.0.0-1d8fa7590dc64d386197097d7b3b924f
key: hmatr_7PZ22o8olec0bnj98RI2Zu
license: BSD3
maintainer: Alberto Ruiz
stability: provisional
homepage: https://github.com/albertoruiz/hmatrix
synopsis: Numeric Linear Algebra
description:
Linear systems, matrix decompositions, and other numerical computations based on BLAS and LAPACK.
.
Standard interface: "Numeric.LinearAlgebra".
.
Safer interface with statically checked dimensions: "Numeric.LinearAlgebra.Static".
.
Code examples: <http://dis.um.es/~alberto/hmatrix/hmatrix.html>
category: Math
author: Alberto Ruiz
exposed: True
exposed-modules:
Numeric.LinearAlgebra Numeric.LinearAlgebra.Devel
Numeric.LinearAlgebra.Data Numeric.LinearAlgebra.HMatrix
Numeric.LinearAlgebra.Static
hidden-modules: Internal.Vector Internal.Devel Internal.Vectorized
Internal.Matrix Internal.Foreign Internal.ST Internal.IO
Internal.Element Internal.Conversion Internal.LAPACK
Internal.Numeric Internal.Algorithms Internal.Random
Internal.Container Internal.Sparse Internal.Convolution
Internal.Chain Numeric.Vector Internal.CG Numeric.Matrix
Internal.Util Internal.Modular Internal.Static
trusted: False
import-dirs: /Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/lib/x86_64-osx-ghc-7.10.3/hmatrix-0.18.0.0-7PZ22o8olec0bnj98RI2Zu
library-dirs: /Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/lib/x86_64-osx-ghc-7.10.3/hmatrix-0.18.0.0-7PZ22o8olec0bnj98RI2Zu
/opt/local/lib/ /usr/local/lib/
data-dir: /Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/share/x86_64-osx-ghc-7.10.3/hmatrix-0.18.0.0
hs-libraries: HShmatrix-0.18.0.0-7PZ22o8olec0bnj98RI2Zu
extra-libraries:
blas lapack
include-dirs: /opt/local/include/ /usr/local/include/
depends:
array-0.5.1.0-960bf9ae8875cc30355e086f8853a049
base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25
binary-0.7.5.0-bb2dcbe8d4c53898daa6ddc1a04a77a3
bytestring-0.10.6.0-04b5cc1d05f993b3b016543ca2863add
deepseq-1.4.1.1-8eec8f9bea2efc2500f63544ec6ca569
random-1.1-7b52ac9c2fd71a09f8ea932648ebfada
split-0.2.3.1-6d0063c12972868a1e069995047d6884
storable-complex-0.2.2-5d724e6255914e391bee90b30a4cef13
vector-0.11.0.0-3c85dee988950ea88ba0cba31473444f
frameworks: Accelerate
haddock-interfaces: /Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/doc/hmatrix-0.18.0.0/hmatrix.haddock
haddock-html: /Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/doc/hmatrix-0.18.0.0

View File

@ -0,0 +1,38 @@
Configuring MonadRandom-0.4.2.3...
Building MonadRandom-0.4.2.3...
Preprocessing library MonadRandom-0.4.2.3...
[1 of 2] Compiling Control.Monad.Random.Class ( Control/Monad/Random/Class.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Control/Monad/Random/Class.o )
[2 of 2] Compiling Control.Monad.Random ( Control/Monad/Random.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Control/Monad/Random.o )
Control/Monad/Random.hs:54:1: Warning:
Module Control.Monad.Error is deprecated:
Use Control.Monad.Except instead
Control/Monad/Random.hs:70:1: Warning:
The import of Data.Monoid is redundant
except perhaps to import instances from Data.Monoid
To import instances alone, use: import Data.Monoid()
Control/Monad/Random.hs:206:11: Warning:
In the use of type constructor or class Error
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
Control/Monad/Random.hs:206:51: Warning:
In the use of type constructor or class ErrorT
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
Control/Monad/Random.hs:251:11: Warning:
In the use of type constructor or class Error
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
Control/Monad/Random.hs:251:53: Warning:
In the use of type constructor or class ErrorT
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
Deprecated: "Use Control.Monad.Trans.Except instead"
In-place registering MonadRandom-0.4.2.3...
Installing library in
/Users/mahdi/.stack/snapshots/x86_64-osx/lts-6.7/7.10.3/lib/x86_64-osx-ghc-7.10.3/MonadRandom-0.4.2.3-4XRZwPV1MjC69wlAshwzrw
Registering MonadRandom-0.4.2.3...

View File

@ -0,0 +1,80 @@
Preprocessing library hmatrix-0.18.0.0...
[ 1 of 28] Compiling Internal.Vector ( src/Internal/Vector.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Vector.o )
[ 2 of 28] Compiling Internal.Devel ( src/Internal/Devel.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Devel.o )
[ 3 of 28] Compiling Internal.Vectorized ( src/Internal/Vectorized.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Vectorized.o )
[ 4 of 28] Compiling Internal.Matrix ( src/Internal/Matrix.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Matrix.o )
[ 5 of 28] Compiling Internal.Conversion ( src/Internal/Conversion.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Conversion.o )
[ 6 of 28] Compiling Internal.Foreign ( src/Internal/Foreign.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Foreign.o )
[ 7 of 28] Compiling Internal.ST ( src/Internal/ST.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/ST.o )
[ 8 of 28] Compiling Internal.Element ( src/Internal/Element.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Element.o )
[ 9 of 28] Compiling Internal.IO ( src/Internal/IO.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/IO.o )
[10 of 28] Compiling Internal.LAPACK ( src/Internal/LAPACK.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/LAPACK.o )
[11 of 28] Compiling Internal.Numeric ( src/Internal/Numeric.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Numeric.o )
[12 of 28] Compiling Internal.Sparse ( src/Internal/Sparse.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Sparse.o )
[13 of 28] Compiling Numeric.LinearAlgebra.Devel ( src/Numeric/LinearAlgebra/Devel.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/LinearAlgebra/Devel.o )
[14 of 28] Compiling Internal.Algorithms ( src/Internal/Algorithms.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Algorithms.o )
[15 of 28] Compiling Internal.Container ( src/Internal/Container.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Container.o )
[16 of 28] Compiling Internal.Random ( src/Internal/Random.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Random.o )
[17 of 28] Compiling Internal.Convolution ( src/Internal/Convolution.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Convolution.o )
[18 of 28] Compiling Internal.Chain ( src/Internal/Chain.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Chain.o )
[19 of 28] Compiling Numeric.Vector ( src/Numeric/Vector.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/Vector.o )
[20 of 28] Compiling Internal.CG ( src/Internal/CG.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/CG.o )
[21 of 28] Compiling Numeric.Matrix ( src/Numeric/Matrix.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/Matrix.o )
[22 of 28] Compiling Internal.Util ( src/Internal/Util.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Util.o )
[23 of 28] Compiling Internal.Modular ( src/Internal/Modular.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Modular.o )
[24 of 28] Compiling Numeric.LinearAlgebra.Data ( src/Numeric/LinearAlgebra/Data.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/LinearAlgebra/Data.o )
[25 of 28] Compiling Numeric.LinearAlgebra ( src/Numeric/LinearAlgebra.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/LinearAlgebra.o )
[26 of 28] Compiling Numeric.LinearAlgebra.HMatrix ( src/Numeric/LinearAlgebra/HMatrix.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/LinearAlgebra/HMatrix.o )
[27 of 28] Compiling Internal.Static ( src/Internal/Static.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Internal/Static.o )
[28 of 28] Compiling Numeric.LinearAlgebra.Static ( src/Numeric/LinearAlgebra/Static.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Numeric/LinearAlgebra/Static.o )
clang: warning: -O4 is equivalent to -O3
clang: warning: -O4 is equivalent to -O3
clang: warning: -O4 is equivalent to -O3
src/Internal/C/vector-aux.c:574:14:
warning: absolute value function 'abs' given an argument of type 'const int64_t' (aka 'const long long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
OP(3,abs)
^
src/Internal/C/vector-aux.c:574:14:
note: use function 'labs' instead
OP(3,abs)
^~~
labs
src/Internal/C/vector-aux.c:504:53: note: expanded from macro 'OP'
#define OP(C,F) case C: { for(k=0;k<xn;k++) rp[k] = F(xp[k]); OK }
^
src/Internal/C/vector-aux.c:941:9:
warning: randomVector is not thread-safe in OSX and FreeBSD [-W#pragma-messages]
#pragma message "randomVector is not thread-safe in OSX and FreeBSD"
^
2 warnings generated.
clang: warning: -O4 is equivalent to -O3
src/Internal/C/vector-aux.c:574:14:
warning: absolute value function 'abs' given an argument of type 'const int64_t' (aka 'const long long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
OP(3,abs)
^
src/Internal/C/vector-aux.c:574:14:
note: use function 'labs' instead
OP(3,abs)
^~~
labs
src/Internal/C/vector-aux.c:504:53: note: expanded from macro 'OP'
#define OP(C,F) case C: { for(k=0;k<xn;k++) rp[k] = F(xp[k]); OK }
^
src/Internal/C/vector-aux.c:941:9:
warning: randomVector is not thread-safe in OSX and FreeBSD [-W#pragma-messages]
#pragma message "randomVector is not thread-safe in OSX and FreeBSD"
^
2 warnings generated.
ld: warning: directory not found for option '-L/opt/local/lib/'
In-place registering hmatrix-0.18.0.0...
Installing library in
/Users/mahdi/Documents/Workshop/sibe/.stack-work/install/x86_64-osx/lts-6.7/7.10.3/lib/x86_64-osx-ghc-7.10.3/hmatrix-0.18.0.0-7PZ22o8olec0bnj98RI2Zu
Registering hmatrix-0.18.0.0...