aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Isaac2021-02-26 21:07:45 +0530
committerArun Isaac2021-02-26 21:13:07 +0530
commit8f3d10e53b598e87f6308727bc61c90ed43f2726 (patch)
treed780e122a4e689fc5189798aa9f521ea2d776f7d /src
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.
Diffstat (limited to 'src')
-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
7 files changed, 133 insertions, 0 deletions
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")