From 8f3d10e53b598e87f6308727bc61c90ed43f2726 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 26 Feb 2021 21:07:45 +0530 Subject: 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. --- CMakeLists.txt | 19 +++++++++++++++++++ include/extent-sampling.h | 21 +++++++++++++++++++++ include/gaussian-nd-random.h | 21 +++++++++++++++++++++ include/integrands.h | 21 +++++++++++++++++++++ include/nd-random.h | 21 +++++++++++++++++++++ include/oracles.h | 21 +++++++++++++++++++++ include/utils.h | 21 +++++++++++++++++++++ pre-inst-env.in | 19 +++++++++++++++++++ src/extent-sampling.sc | 19 +++++++++++++++++++ src/gaussian-nd-random.sc | 19 +++++++++++++++++++ src/integrands.sc | 19 +++++++++++++++++++ src/macros/macros.sc | 19 +++++++++++++++++++ src/nd-random.sc | 19 +++++++++++++++++++ src/oracles.sc | 19 +++++++++++++++++++ src/utils.sc | 19 +++++++++++++++++++ 15 files changed, 297 insertions(+) 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 +# Copyright © 2021 Murugesan Venkatapathi +# +# 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 . + 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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 + Copyright © 2021 Murugesan Venkatapathi + + 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 . +*/ + #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 +# Copyright © 2021 Murugesan Venkatapathi +# +# 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 . + 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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (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 +;;; Copyright © 2021 Murugesan Venkatapathi +;;; +;;; 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 . + (sc-include "macros/macros") (pre-include "gsl/gsl_math.h") -- cgit v1.2.3