aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-02-26 21:07:45 +0530
committerArun Isaac2021-02-26 21:13:07 +0530
commit8f3d10e53b598e87f6308727bc61c90ed43f2726 (patch)
treed780e122a4e689fc5189798aa9f521ea2d776f7d
parent720c62ae094fa17f49fcfe215b351d80a0e77464 (diff)
downloadnsmc-8f3d10e53b598e87f6308727bc61c90ed43f2726.tar.gz
nsmc-8f3d10e53b598e87f6308727bc61c90ed43f2726.tar.lz
nsmc-8f3d10e53b598e87f6308727bc61c90ed43f2726.zip
Add copyright and license headers for all files.
* include/extent-sampling.h, include/gaussian-nd-random.h, include/integrands.h, include/nd-random.h, include/oracles.h, include/utils.h, src/extent-sampling.sc, src/gaussian-nd-random.sc, src/integrands.sc, src/macros/macros.sc, src/nd-random.sc, src/oracles.sc, src/utils.sc, CMakeLists.txt, pre-inst-env.in: Add copyright and license headers.
-rw-r--r--CMakeLists.txt19
-rw-r--r--include/extent-sampling.h21
-rw-r--r--include/gaussian-nd-random.h21
-rw-r--r--include/integrands.h21
-rw-r--r--include/nd-random.h21
-rw-r--r--include/oracles.h21
-rw-r--r--include/utils.h21
-rwxr-xr-xpre-inst-env.in19
-rw-r--r--src/extent-sampling.sc19
-rw-r--r--src/gaussian-nd-random.sc19
-rw-r--r--src/integrands.sc19
-rw-r--r--src/macros/macros.sc19
-rw-r--r--src/nd-random.sc19
-rw-r--r--src/oracles.sc19
-rw-r--r--src/utils.sc19
15 files changed, 297 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce1be04..4e363c9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,22 @@
+# nsmc --- n-sphere Monte Carlo method
+# Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+# Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+#
+# This file is part of nsmc.
+#
+# nsmc is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# nsmc is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
cmake_minimum_required(VERSION 3.10)
project(nsmc VERSION 0.1.0)
diff --git a/include/extent-sampling.h b/include/extent-sampling.h
index ef64fe3..1fd6bba 100644
--- a/include/extent-sampling.h
+++ b/include/extent-sampling.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef EXTENT_SAMPLING_H
#define EXTENT_SAMPLING_H
diff --git a/include/gaussian-nd-random.h b/include/gaussian-nd-random.h
index 951cb10..63b8a10 100644
--- a/include/gaussian-nd-random.h
+++ b/include/gaussian-nd-random.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef GAUSSIAN_ND_RANDOM_H
#define GAUSSIAN_ND_RANDOM_H
diff --git a/include/integrands.h b/include/integrands.h
index b4735a8..5f2adc0 100644
--- a/include/integrands.h
+++ b/include/integrands.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef INTEGRANDS_H
#define INTEGRANDS_H
diff --git a/include/nd-random.h b/include/nd-random.h
index 7f3d41c..9755e57 100644
--- a/include/nd-random.h
+++ b/include/nd-random.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef ND_RANDOM_H
#define ND_RANDOM_H
diff --git a/include/oracles.h b/include/oracles.h
index c294b84..6bd4d39 100644
--- a/include/oracles.h
+++ b/include/oracles.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef ORACLES_H
#define ORACLES_H
diff --git a/include/utils.h b/include/utils.h
index 5cec86c..03a8e2e 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -1,3 +1,24 @@
+/*
+ nsmc --- n-sphere Monte Carlo method
+ Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+ Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+
+ This file is part of nsmc.
+
+ nsmc is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ nsmc is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#ifndef UTILS_H
#define UTILS_H
diff --git a/pre-inst-env.in b/pre-inst-env.in
index 9e0a1e2..e71a34b 100755
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -1,5 +1,24 @@
#! /bin/sh
+# nsmc --- n-sphere Monte Carlo method
+# Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+# Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+#
+# This file is part of nsmc.
+#
+# nsmc is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# nsmc is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
export GUILE_LOAD_PATH="@CMAKE_BINARY_DIR@/scm${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}"
export GUILE_LOAD_COMPILED_PATH="@CMAKE_BINARY_DIR@/scm${GUILE_LOAD_COMPILED_PATH:+:}${GUILE_LOAD_COMPILED_PATH}"
export LD_LIBRARY_PATH="@CMAKE_BINARY_DIR@${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
diff --git a/src/extent-sampling.sc b/src/extent-sampling.sc
index 2110243..48e6544 100644
--- a/src/extent-sampling.sc
+++ b/src/extent-sampling.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(sc-include "macros/macros")
(pre-include "stddef.h")
diff --git a/src/gaussian-nd-random.sc b/src/gaussian-nd-random.sc
index bfde566..640202d 100644
--- a/src/gaussian-nd-random.sc
+++ b/src/gaussian-nd-random.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(sc-include "macros/macros")
(pre-include "gsl/gsl_blas.h")
diff --git a/src/integrands.sc b/src/integrands.sc
index 920d257..688b9e0 100644
--- a/src/integrands.sc
+++ b/src/integrands.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(pre-include "gsl/gsl_math.h")
(pre-include "gsl/gsl_poly.h")
(pre-include "integrands.h")
diff --git a/src/macros/macros.sc b/src/macros/macros.sc
index 78e38dc..ac9e6d7 100644
--- a/src/macros/macros.sc
+++ b/src/macros/macros.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(sc-define-syntax (for-i index limit body ...)
(for ((define index int 0)
(< index limit)
diff --git a/src/nd-random.sc b/src/nd-random.sc
index 9984a7b..02ad997 100644
--- a/src/nd-random.sc
+++ b/src/nd-random.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(pre-include "math.h")
(pre-include "gsl/gsl_blas.h")
(pre-include "gsl/gsl_randist.h")
diff --git a/src/oracles.sc b/src/oracles.sc
index 4182683..6f0ecbf 100644
--- a/src/oracles.sc
+++ b/src/oracles.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(sc-include "macros/macros")
(pre-include "math.h")
diff --git a/src/utils.sc b/src/utils.sc
index 3d96b40..20452b0 100644
--- a/src/utils.sc
+++ b/src/utils.sc
@@ -1,3 +1,22 @@
+;;; nsmc --- n-sphere Monte Carlo method
+;;; Copyright © 2021 Arun I <arunisaac@systemreboot.net>
+;;; Copyright © 2021 Murugesan Venkatapathi <murugesh@iisc.ac.in>
+;;;
+;;; This file is part of nsmc.
+;;;
+;;; nsmc is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; nsmc is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with nsmc. If not, see <https://www.gnu.org/licenses/>.
+
(sc-include "macros/macros")
(pre-include "gsl/gsl_math.h")