diff options
-rw-r--r-- | examples/ChangeLog.md | 5 | ||||
-rw-r--r-- | examples/LICENSE | 30 | ||||
-rw-r--r-- | examples/Setup.hs | 2 | ||||
-rw-r--r-- | examples/examples.cabal | 21 |
4 files changed, 58 insertions, 0 deletions
diff --git a/examples/ChangeLog.md b/examples/ChangeLog.md new file mode 100644 index 0000000..a7e4c4c --- /dev/null +++ b/examples/ChangeLog.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # Revision history for hmatrix-examples | ||
2 | |||
3 | ## 0.1.0.0 -- YYYY-mm-dd | ||
4 | |||
5 | * First version. Released on an unsuspecting world. | ||
diff --git a/examples/LICENSE b/examples/LICENSE new file mode 100644 index 0000000..18e5956 --- /dev/null +++ b/examples/LICENSE | |||
@@ -0,0 +1,30 @@ | |||
1 | Copyright (c) 2018, Dominic Steinitz | ||
2 | |||
3 | All rights reserved. | ||
4 | |||
5 | Redistribution and use in source and binary forms, with or without | ||
6 | modification, are permitted provided that the following conditions are met: | ||
7 | |||
8 | * Redistributions of source code must retain the above copyright | ||
9 | notice, this list of conditions and the following disclaimer. | ||
10 | |||
11 | * Redistributions in binary form must reproduce the above | ||
12 | copyright notice, this list of conditions and the following | ||
13 | disclaimer in the documentation and/or other materials provided | ||
14 | with the distribution. | ||
15 | |||
16 | * Neither the name of Dominic Steinitz nor the names of other | ||
17 | contributors may be used to endorse or promote products derived | ||
18 | from this software without specific prior written permission. | ||
19 | |||
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
21 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
22 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
23 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
24 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
25 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
26 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
27 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
28 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
30 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/examples/Setup.hs b/examples/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/examples/Setup.hs | |||
@@ -0,0 +1,2 @@ | |||
1 | import Distribution.Simple | ||
2 | main = defaultMain | ||
diff --git a/examples/examples.cabal b/examples/examples.cabal new file mode 100644 index 0000000..c2fed7e --- /dev/null +++ b/examples/examples.cabal | |||
@@ -0,0 +1,21 @@ | |||
1 | name: examples | ||
2 | version: 0.1.0.0 | ||
3 | synopsis: Example usage of the various hmatrix packages | ||
4 | homepage: https://github.com/albertoruiz/hmatrix | ||
5 | license: BSD3 | ||
6 | license-file: LICENSE | ||
7 | author: Dominic Steinitz | ||
8 | maintainer: dominic@steinitz.org | ||
9 | copyright: Dominic Steinitz, Novadiscovery | ||
10 | category: Math | ||
11 | build-type: Simple | ||
12 | extra-source-files: ChangeLog.md | ||
13 | cabal-version: >=1.10 | ||
14 | |||
15 | executable sundials | ||
16 | main-is: sundials.hs | ||
17 | build-depends: base >=4.10 && <4.11, | ||
18 | hmatrix, | ||
19 | hmatrix-sundials, | ||
20 | hmatrix-gsl | ||
21 | default-language: Haskell2010 | ||