diff --git a/CITATION.cff b/CITATION.cff index c1b8b796..8b4510cb 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -4,7 +4,7 @@ type: software title: "Numerics" version: "2.0.0" date-released: "2026-03-08" -license: BSD-3-Clause +license: 0BSD doi: "10.5281/zenodo.19444369" repository-code: "https://github.com/USACE-RMC/Numerics" url: "https://github.com/USACE-RMC/Numerics" @@ -32,15 +32,20 @@ authors: - family-names: "Fields" given-names: "Woodrow L." affiliation: "U.S. Army Corps of Engineers, Risk Management Center" + orcid: "https://orcid.org/0009-0008-7454-5552" - family-names: "Gonzalez" given-names: "Julian" affiliation: "U.S. Army Corps of Engineers, Risk Management Center" + orcid: "https://orcid.org/0009-0009-9058-7653" - family-names: "Niblett" given-names: "Sadie" affiliation: "U.S. Army Corps of Engineers, Risk Management Center" + orcid: "https://orcid.org/0009-0008-8588-4816" - family-names: "Beam" given-names: "Brennan" affiliation: "U.S. Army Corps of Engineers, Hydrologic Engineering Center" + orcid: "https://orcid.org/0009-0003-0515-3727" - family-names: "Skahill" given-names: "Brian" affiliation: "Fariborz Maseeh Department of Mathematics and Statistics, Portland State University" + orcid: "https://orcid.org/0000-0002-2164-0301" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d5e4099..98b14ff7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,4 +60,4 @@ If you discover a security vulnerability, please do **not** open a public issue. ## License -See [LICENSE](LICENSE) for details. This software is provided by USACE-RMC under a BSD-style license with a no-endorsement clause. +See [LICENSE](LICENSE) for details. This software is provided by USACE-RMC under the Zero-Clause BSD (0BSD) license. diff --git a/LICENSE b/LICENSE index 77e46043..d61efa4a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,12 +1,10 @@ -NOTICE: -The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about the results, or appropriateness of outputs, obtained from Numerics. - -LIST OF CONDITIONS: -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 notice, this list of conditions, and the following disclaimer. -* Redistributions in binary form must reproduce the above notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. -* The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water Resources, or the Risk Management Center may not be used to endorse or promote products derived from this software without specific prior written permission. Nor may the names of its contributors be used to endorse or promote products derived from this software without specific prior written permission. - -DISCLAIMER: -THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER (USACE-RMC) "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 USACE-RMC 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. +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/Numerics/Data/Interpolation/Bilinear.cs b/Numerics/Data/Interpolation/Bilinear.cs index 178ac713..34d8ed3f 100644 --- a/Numerics/Data/Interpolation/Bilinear.cs +++ b/Numerics/Data/Interpolation/Bilinear.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - - + using Numerics.Distributions; using System; using System.Linq; diff --git a/Numerics/Data/Interpolation/CubicSpline.cs b/Numerics/Data/Interpolation/CubicSpline.cs index 84114b05..e75b87b7 100644 --- a/Numerics/Data/Interpolation/CubicSpline.cs +++ b/Numerics/Data/Interpolation/CubicSpline.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Data diff --git a/Numerics/Data/Interpolation/Linear.cs b/Numerics/Data/Interpolation/Linear.cs index 92e87f29..8142c154 100644 --- a/Numerics/Data/Interpolation/Linear.cs +++ b/Numerics/Data/Interpolation/Linear.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using System; using System.Collections.Generic; diff --git a/Numerics/Data/Interpolation/Polynomial.cs b/Numerics/Data/Interpolation/Polynomial.cs index a0edf50c..ba14759a 100644 --- a/Numerics/Data/Interpolation/Polynomial.cs +++ b/Numerics/Data/Interpolation/Polynomial.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Interpolation/Support/Interpolater.cs b/Numerics/Data/Interpolation/Support/Interpolater.cs index 0f6a29f4..9cb625bc 100644 --- a/Numerics/Data/Interpolation/Support/Interpolater.cs +++ b/Numerics/Data/Interpolation/Support/Interpolater.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Data diff --git a/Numerics/Data/Interpolation/Support/Search.cs b/Numerics/Data/Interpolation/Support/Search.cs index f460dc7e..9c5f43e6 100644 --- a/Numerics/Data/Interpolation/Support/Search.cs +++ b/Numerics/Data/Interpolation/Support/Search.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Data diff --git a/Numerics/Data/Interpolation/Support/SortOrder.cs b/Numerics/Data/Interpolation/Support/SortOrder.cs index f14ad567..f7b0e628 100644 --- a/Numerics/Data/Interpolation/Support/SortOrder.cs +++ b/Numerics/Data/Interpolation/Support/SortOrder.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data { diff --git a/Numerics/Data/Interpolation/Support/Transform.cs b/Numerics/Data/Interpolation/Support/Transform.cs index 6cacbd3e..f2f4ffd1 100644 --- a/Numerics/Data/Interpolation/Support/Transform.cs +++ b/Numerics/Data/Interpolation/Support/Transform.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.ComponentModel.DataAnnotations; namespace Numerics.Data diff --git a/Numerics/Data/Paired Data/LineSimplification.cs b/Numerics/Data/Paired Data/LineSimplification.cs index 650f6a72..5756edc9 100644 --- a/Numerics/Data/Paired Data/LineSimplification.cs +++ b/Numerics/Data/Paired Data/LineSimplification.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Paired Data/OrderedPairedData.cs b/Numerics/Data/Paired Data/OrderedPairedData.cs index 80eb0eef..4de6b316 100644 --- a/Numerics/Data/Paired Data/OrderedPairedData.cs +++ b/Numerics/Data/Paired Data/OrderedPairedData.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/Numerics/Data/Paired Data/Ordinate.cs b/Numerics/Data/Paired Data/Ordinate.cs index cb538a3c..6fca2a0a 100644 --- a/Numerics/Data/Paired Data/Ordinate.cs +++ b/Numerics/Data/Paired Data/Ordinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Xml.Linq; diff --git a/Numerics/Data/Paired Data/ProbabilityOrdinate.cs b/Numerics/Data/Paired Data/ProbabilityOrdinate.cs index df1e6707..b6e31761 100644 --- a/Numerics/Data/Paired Data/ProbabilityOrdinate.cs +++ b/Numerics/Data/Paired Data/ProbabilityOrdinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; diff --git a/Numerics/Data/Paired Data/UncertainOrderedPairedData.cs b/Numerics/Data/Paired Data/UncertainOrderedPairedData.cs index 05fbb4c5..d513f439 100644 --- a/Numerics/Data/Paired Data/UncertainOrderedPairedData.cs +++ b/Numerics/Data/Paired Data/UncertainOrderedPairedData.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/Numerics/Data/Paired Data/UncertainOrdinate.cs b/Numerics/Data/Paired Data/UncertainOrdinate.cs index b605b13a..89d6c9ad 100644 --- a/Numerics/Data/Paired Data/UncertainOrdinate.cs +++ b/Numerics/Data/Paired Data/UncertainOrdinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Numerics/Data/Regression/LinearRegression.cs b/Numerics/Data/Regression/LinearRegression.cs index 43615f8b..7425dc41 100644 --- a/Numerics/Data/Regression/LinearRegression.cs +++ b/Numerics/Data/Regression/LinearRegression.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using System; diff --git a/Numerics/Data/Statistics/Autocorrelation.cs b/Numerics/Data/Statistics/Autocorrelation.cs index e9c00b94..80adb846 100644 --- a/Numerics/Data/Statistics/Autocorrelation.cs +++ b/Numerics/Data/Statistics/Autocorrelation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Distributions; diff --git a/Numerics/Data/Statistics/BoxCox.cs b/Numerics/Data/Statistics/BoxCox.cs index e3f8d71b..1d3d4066 100644 --- a/Numerics/Data/Statistics/BoxCox.cs +++ b/Numerics/Data/Statistics/BoxCox.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Data/Statistics/Correlation.cs b/Numerics/Data/Statistics/Correlation.cs index 68efb041..b39ae3f9 100644 --- a/Numerics/Data/Statistics/Correlation.cs +++ b/Numerics/Data/Statistics/Correlation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Statistics/GoodnessOfFit.cs b/Numerics/Data/Statistics/GoodnessOfFit.cs index ae5288b6..c07b799f 100644 --- a/Numerics/Data/Statistics/GoodnessOfFit.cs +++ b/Numerics/Data/Statistics/GoodnessOfFit.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Statistics/Histogram.cs b/Numerics/Data/Statistics/Histogram.cs index 806198e9..e8ec3970 100644 --- a/Numerics/Data/Statistics/Histogram.cs +++ b/Numerics/Data/Statistics/Histogram.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Statistics/HypothesisTests.cs b/Numerics/Data/Statistics/HypothesisTests.cs index 456d5311..4e5f5088 100644 --- a/Numerics/Data/Statistics/HypothesisTests.cs +++ b/Numerics/Data/Statistics/HypothesisTests.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.MachineLearning; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Data/Statistics/MultipleGrubbsBeckTest.cs b/Numerics/Data/Statistics/MultipleGrubbsBeckTest.cs index fb7f86c2..61fcad4f 100644 --- a/Numerics/Data/Statistics/MultipleGrubbsBeckTest.cs +++ b/Numerics/Data/Statistics/MultipleGrubbsBeckTest.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Distributions; diff --git a/Numerics/Data/Statistics/PlottingPositions.cs b/Numerics/Data/Statistics/PlottingPositions.cs index aa74f137..65cd91bb 100644 --- a/Numerics/Data/Statistics/PlottingPositions.cs +++ b/Numerics/Data/Statistics/PlottingPositions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data.Statistics { diff --git a/Numerics/Data/Statistics/Probability.cs b/Numerics/Data/Statistics/Probability.cs index 77e9c4c6..07afaed3 100644 --- a/Numerics/Data/Statistics/Probability.cs +++ b/Numerics/Data/Statistics/Probability.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.SpecialFunctions; using System; using System.Collections.Generic; diff --git a/Numerics/Data/Statistics/RunningCovarianceMatrix.cs b/Numerics/Data/Statistics/RunningCovarianceMatrix.cs index f85cf799..a1a88fe3 100644 --- a/Numerics/Data/Statistics/RunningCovarianceMatrix.cs +++ b/Numerics/Data/Statistics/RunningCovarianceMatrix.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Data/Statistics/RunningStatistics.cs b/Numerics/Data/Statistics/RunningStatistics.cs index 2a4cec46..4c82bc3f 100644 --- a/Numerics/Data/Statistics/RunningStatistics.cs +++ b/Numerics/Data/Statistics/RunningStatistics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// +// // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics diff --git a/Numerics/Data/Statistics/Statistics.cs b/Numerics/Data/Statistics/Statistics.cs index 0a4e9056..90a4c035 100644 --- a/Numerics/Data/Statistics/Statistics.cs +++ b/Numerics/Data/Statistics/Statistics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// +// // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics diff --git a/Numerics/Data/Statistics/YeoJohnson.cs b/Numerics/Data/Statistics/YeoJohnson.cs index ec993b4f..ce4e32d6 100644 --- a/Numerics/Data/Statistics/YeoJohnson.cs +++ b/Numerics/Data/Statistics/YeoJohnson.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.Optimization; +using Numerics.Mathematics.Optimization; using System; using System.Collections.Generic; diff --git a/Numerics/Data/Time Series/Support/BlockFunctionType.cs b/Numerics/Data/Time Series/Support/BlockFunctionType.cs index d7841f60..27d02151 100644 --- a/Numerics/Data/Time Series/Support/BlockFunctionType.cs +++ b/Numerics/Data/Time Series/Support/BlockFunctionType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data { diff --git a/Numerics/Data/Time Series/Support/MathFunctionType.cs b/Numerics/Data/Time Series/Support/MathFunctionType.cs index 6fffb160..84376c7d 100644 --- a/Numerics/Data/Time Series/Support/MathFunctionType.cs +++ b/Numerics/Data/Time Series/Support/MathFunctionType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data { diff --git a/Numerics/Data/Time Series/Support/Series.cs b/Numerics/Data/Time Series/Support/Series.cs index 58627240..8bdf9d75 100644 --- a/Numerics/Data/Time Series/Support/Series.cs +++ b/Numerics/Data/Time Series/Support/Series.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/Numerics/Data/Time Series/Support/SeriesOrdinate.cs b/Numerics/Data/Time Series/Support/SeriesOrdinate.cs index a1471e76..e89ac9b2 100644 --- a/Numerics/Data/Time Series/Support/SeriesOrdinate.cs +++ b/Numerics/Data/Time Series/Support/SeriesOrdinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.ComponentModel; diff --git a/Numerics/Data/Time Series/Support/SmoothingFunctionType.cs b/Numerics/Data/Time Series/Support/SmoothingFunctionType.cs index 6007e4f6..3d24f717 100644 --- a/Numerics/Data/Time Series/Support/SmoothingFunctionType.cs +++ b/Numerics/Data/Time Series/Support/SmoothingFunctionType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data { diff --git a/Numerics/Data/Time Series/Support/TimeBlockWindow.cs b/Numerics/Data/Time Series/Support/TimeBlockWindow.cs index 211dd8b5..6de4e963 100644 --- a/Numerics/Data/Time Series/Support/TimeBlockWindow.cs +++ b/Numerics/Data/Time Series/Support/TimeBlockWindow.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Data { diff --git a/Numerics/Data/Time Series/Support/TimeInterval.cs b/Numerics/Data/Time Series/Support/TimeInterval.cs index 5e0ca569..a318c127 100644 --- a/Numerics/Data/Time Series/Support/TimeInterval.cs +++ b/Numerics/Data/Time Series/Support/TimeInterval.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.ComponentModel; namespace Numerics.Data diff --git a/Numerics/Data/Time Series/Support/TimeSeriesDownload.cs b/Numerics/Data/Time Series/Support/TimeSeriesDownload.cs index 40be7c6e..3360492a 100644 --- a/Numerics/Data/Time Series/Support/TimeSeriesDownload.cs +++ b/Numerics/Data/Time Series/Support/TimeSeriesDownload.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.IO.Compression; +using System.IO.Compression; using System.IO; using System.Linq; using System.Net; @@ -972,7 +942,7 @@ public static async Task FromABOM( else parameterType = "Rainfall"; // Step 1: Get timeseries list to find the appropriate ts_id - string tsListUrl = "http://www.bom.gov.au/waterdata/services" + + string tsListUrl = "https://www.bom.gov.au/waterdata/services" + $"?service=kisters&type=QueryServices&datasource=0&format=json" + $"&request=getTimeseriesList" + $"&station_no={Uri.EscapeDataString(stationNumber)}" + @@ -1001,7 +971,6 @@ public static async Task FromABOM( try { response = await client.GetAsync(tsListUrl); - response.EnsureSuccessStatusCode(); } catch (HttpRequestException ex) { @@ -1014,6 +983,15 @@ public static async Task FromABOM( var listResponse = await response.Content.ReadAsStringAsync(); + // Surface the response body in the exception so transient upstream failures + // (KiWIS 5xx with a JSON error payload) are self-documenting. + if (!response.IsSuccessStatusCode) + { + string snippet = listResponse.Length > 500 ? listResponse.Substring(0, 500) + "…" : listResponse; + throw new Exception( + $"Failed to retrieve time series list from BOM API. Status={(int)response.StatusCode} ({response.StatusCode}). Body={snippet}"); + } + // Check for error response from KiWIS if (listResponse.Contains("\"type\":\"error\"") || listResponse.StartsWith("{\"type\":\"error\"")) { @@ -1093,7 +1071,7 @@ public static async Task FromABOM( } // Step 2: Get time series values using the ts_id - string valuesUrl = "http://www.bom.gov.au/waterdata/services" + + string valuesUrl = "https://www.bom.gov.au/waterdata/services" + $"?service=kisters&type=QueryServices&datasource=0&format=json" + $"&request=getTimeseriesValues" + $"&ts_id={tsId}" + @@ -1124,7 +1102,6 @@ public static async Task FromABOM( try { response = await client.GetAsync(valuesUrl); - response.EnsureSuccessStatusCode(); } catch (HttpRequestException ex) { @@ -1137,6 +1114,16 @@ public static async Task FromABOM( var valuesResponse = await response.Content.ReadAsStringAsync(); + // Surface the response body in the exception so transient upstream failures + // (e.g. KiWIS returning 500 with `{"code":"DatasourceError","message":"Error connecting to WDP."}`) + // are self-documenting. Without this, EnsureSuccessStatusCode would discard the body. + if (!response.IsSuccessStatusCode) + { + string snippet = valuesResponse.Length > 500 ? valuesResponse.Substring(0, 500) + "…" : valuesResponse; + throw new Exception( + $"Failed to retrieve time series values from BOM API. Status={(int)response.StatusCode} ({response.StatusCode}). Body={snippet}"); + } + // Check for error response if (valuesResponse.Contains("\"type\":\"error\"") || valuesResponse.StartsWith("{\"type\":\"error\"")) { diff --git a/Numerics/Data/Time Series/TimeSeries.cs b/Numerics/Data/Time Series/TimeSeries.cs index 1a93a993..dd1ed23d 100644 --- a/Numerics/Data/Time Series/TimeSeries.cs +++ b/Numerics/Data/Time Series/TimeSeries.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.MachineLearning; using Numerics.Mathematics; using Numerics.Sampling; @@ -2117,8 +2087,9 @@ public TimeSeries PeaksOverThresholdSeries(double threshold, int minStepsBetween idx = i + 1; idxMax = idx; - while ((!double.IsNaN(smoothedSeries[idx].Value) && smoothedSeries[idx].Value > threshold) || - CheckIfMinStepsExceeded(smoothedSeries[idxMax].Index, smoothedSeries[idx].Index, minStepsBetweenEvents) == false) + while (idx < smoothedSeries.Count && + ((!double.IsNaN(smoothedSeries[idx].Value) && smoothedSeries[idx].Value > threshold) || + CheckIfMinStepsExceeded(smoothedSeries[idxMax].Index, smoothedSeries[idx].Index, minStepsBetweenEvents) == false)) { if (!double.IsNaN(smoothedSeries[idx].Value) && smoothedSeries[idx].Value >= smoothedSeries[idxMax].Value) { @@ -2127,11 +2098,6 @@ public TimeSeries PeaksOverThresholdSeries(double threshold, int minStepsBetween // Increment inner loop idx++; - if (idx >= smoothedSeries.Count) - { - idx--; - break; - } } // Set the end of the cluster diff --git a/Numerics/Distributions/Bivariate Copulas/AMHCopula.cs b/Numerics/Distributions/Bivariate Copulas/AMHCopula.cs index 350d0d96..f773e28f 100644 --- a/Numerics/Distributions/Bivariate Copulas/AMHCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/AMHCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.RootFinding; diff --git a/Numerics/Distributions/Bivariate Copulas/Base/ArchimedeanCopula.cs b/Numerics/Distributions/Bivariate Copulas/Base/ArchimedeanCopula.cs index 201c02cb..b2167276 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/ArchimedeanCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/ArchimedeanCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Distributions.Copulas { diff --git a/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopula.cs b/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopula.cs index fa5531c9..293ab03d 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopulaEstimation.cs b/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopulaEstimation.cs index 21c8e927..47fab230 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopulaEstimation.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/BivariateCopulaEstimation.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; using Numerics.Sampling.MCMC; diff --git a/Numerics/Distributions/Bivariate Copulas/Base/CopulaEstimationMethod.cs b/Numerics/Distributions/Bivariate Copulas/Base/CopulaEstimationMethod.cs index f9b88bf9..e469313f 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/CopulaEstimationMethod.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/CopulaEstimationMethod.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions.Copulas +namespace Numerics.Distributions.Copulas { /// diff --git a/Numerics/Distributions/Bivariate Copulas/Base/CopulaType.cs b/Numerics/Distributions/Bivariate Copulas/Base/CopulaType.cs index e08ab51b..fc24dab2 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/CopulaType.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/CopulaType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions.Copulas +namespace Numerics.Distributions.Copulas { /// diff --git a/Numerics/Distributions/Bivariate Copulas/Base/IArchimedeanCopula.cs b/Numerics/Distributions/Bivariate Copulas/Base/IArchimedeanCopula.cs index 8d776169..8e96ea05 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/IArchimedeanCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/IArchimedeanCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions.Copulas +namespace Numerics.Distributions.Copulas { /// diff --git a/Numerics/Distributions/Bivariate Copulas/Base/IBivariateCopula.cs b/Numerics/Distributions/Bivariate Copulas/Base/IBivariateCopula.cs index ff9eb5ff..40bf764e 100644 --- a/Numerics/Distributions/Bivariate Copulas/Base/IBivariateCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/Base/IBivariateCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions.Copulas diff --git a/Numerics/Distributions/Bivariate Copulas/ClaytonCopula.cs b/Numerics/Distributions/Bivariate Copulas/ClaytonCopula.cs index b5efa774..0ce2edbc 100644 --- a/Numerics/Distributions/Bivariate Copulas/ClaytonCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/ClaytonCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Bivariate Copulas/FrankCopula.cs b/Numerics/Distributions/Bivariate Copulas/FrankCopula.cs index bdee363f..1a976edb 100644 --- a/Numerics/Distributions/Bivariate Copulas/FrankCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/FrankCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Bivariate Copulas/GumbelCopula.cs b/Numerics/Distributions/Bivariate Copulas/GumbelCopula.cs index ab719171..f6819fbc 100644 --- a/Numerics/Distributions/Bivariate Copulas/GumbelCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/GumbelCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.RootFinding; diff --git a/Numerics/Distributions/Bivariate Copulas/JoeCopula.cs b/Numerics/Distributions/Bivariate Copulas/JoeCopula.cs index 921c86c9..1d2c66c9 100644 --- a/Numerics/Distributions/Bivariate Copulas/JoeCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/JoeCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Numerics.Mathematics.RootFinding; using System.Collections.Generic; diff --git a/Numerics/Distributions/Bivariate Copulas/NormalCopula.cs b/Numerics/Distributions/Bivariate Copulas/NormalCopula.cs index 37cb620e..4ca6bb3e 100644 --- a/Numerics/Distributions/Bivariate Copulas/NormalCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/NormalCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions.Copulas diff --git a/Numerics/Distributions/Bivariate Copulas/StudentTCopula.cs b/Numerics/Distributions/Bivariate Copulas/StudentTCopula.cs index ea8c4f7f..f2fdc36b 100644 --- a/Numerics/Distributions/Bivariate Copulas/StudentTCopula.cs +++ b/Numerics/Distributions/Bivariate Copulas/StudentTCopula.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Collections.Generic; using Numerics.Mathematics.SpecialFunctions; @@ -96,7 +66,7 @@ public class StudentTCopula : BivariateCopula /// public StudentTCopula() { - _nu = 5; + _nu = 5.0; Theta = 0.0d; } @@ -105,11 +75,8 @@ public StudentTCopula() /// /// The correlation parameter ρ (rho). Must be in [-1, 1]. /// The degrees of freedom ν (nu). Must be greater than 2. - /// Thrown when ν ≤ 2. - public StudentTCopula(double rho, int degreesOfFreedom) + public StudentTCopula(double rho, double degreesOfFreedom) { - if (degreesOfFreedom <= 2) - throw new ArgumentOutOfRangeException(nameof(degreesOfFreedom), "The degrees of freedom must be greater than 2."); _nu = degreesOfFreedom; Theta = rho; } @@ -121,30 +88,33 @@ public StudentTCopula(double rho, int degreesOfFreedom) /// The degrees of freedom ν (nu). Must be greater than 2. /// The X marginal distribution. /// The Y marginal distribution. - /// Thrown when ν ≤ 2. - public StudentTCopula(double rho, int degreesOfFreedom, IUnivariateDistribution? marginalDistributionX, IUnivariateDistribution? marginalDistributionY) + public StudentTCopula(double rho, double degreesOfFreedom, IUnivariateDistribution? marginalDistributionX, IUnivariateDistribution? marginalDistributionY) { - if (degreesOfFreedom <= 2) - throw new ArgumentOutOfRangeException(nameof(degreesOfFreedom), "The degrees of freedom must be greater than 2."); _nu = degreesOfFreedom; Theta = rho; MarginalDistributionX = marginalDistributionX; MarginalDistributionY = marginalDistributionY; } - private int _nu; + private double _nu; /// - /// Gets or sets the degrees of freedom ν (nu). Must be greater than 2. + /// Gets or sets the degrees of freedom ν (nu). Continuous; must be greater than 2. /// - /// Thrown when the value is ≤ 2. - public int DegreesOfFreedom + /// + /// ν is represented as a so that gradient-free MCMC samplers can + /// explore the parameter space smoothly; previously the value was rounded to an integer + /// on every call, which produced a step-function + /// likelihood surface and unnecessary plateaus in the posterior. Both + /// and accept non-integer + /// degrees of freedom. + /// + public double DegreesOfFreedom { get { return _nu; } set { - if (value <= 2) - throw new ArgumentOutOfRangeException(nameof(DegreesOfFreedom), "The degrees of freedom must be greater than 2."); + _parametersValid = ValidateParameters(Theta, value, false) is null; _nu = value; } } @@ -176,7 +146,7 @@ public override string ShortDisplayName parmString[0, 0] = "Correlation (ρ)"; parmString[0, 1] = Theta.ToString(); parmString[1, 0] = "Degrees of Freedom (ν)"; - parmString[1, 1] = _nu.ToString(); + parmString[1, 1] = _nu.ToString("G4"); return parmString; } } @@ -200,18 +170,40 @@ public override double ThetaMaximum } /// + /// + /// The base setter calls this method on the new + /// rho value; we delegate to + /// so that _parametersValid reflects the validity of both ρ and the current ν. + /// public override ArgumentOutOfRangeException? ValidateParameter(double parameter, bool throwException) { - if (parameter < ThetaMinimum) + return ValidateParameters(parameter, _nu, throwException); + } + + /// + /// Validates the correlation ρ and degrees of freedom ν together. Returns null when + /// both parameters are in their valid domains. + /// + /// The correlation parameter ρ. Must be in [, ]. + /// The degrees of freedom ν. Must be finite and greater than 2. + /// When true, throws on the first invalid parameter; when false, returns the exception instead. + public ArgumentOutOfRangeException? ValidateParameters(double rho, double degreesOfFreedom, bool throwException) + { + if (rho < ThetaMinimum) { if (throwException) throw new ArgumentOutOfRangeException(nameof(Theta), "The correlation parameter ρ (rho) must be greater than " + ThetaMinimum.ToString() + "."); return new ArgumentOutOfRangeException(nameof(Theta), "The correlation parameter ρ (rho) must be greater than " + ThetaMinimum.ToString() + "."); } - if (parameter > ThetaMaximum) + if (rho > ThetaMaximum) { if (throwException) throw new ArgumentOutOfRangeException(nameof(Theta), "The correlation parameter ρ (rho) must be less than " + ThetaMaximum.ToString() + "."); return new ArgumentOutOfRangeException(nameof(Theta), "The correlation parameter ρ (rho) must be less than " + ThetaMaximum.ToString() + "."); } + if (double.IsNaN(degreesOfFreedom) || double.IsInfinity(degreesOfFreedom) || degreesOfFreedom <= 2.0) + { + if (throwException) throw new ArgumentOutOfRangeException(nameof(DegreesOfFreedom), "The degrees of freedom must be greater than 2."); + return new ArgumentOutOfRangeException(nameof(DegreesOfFreedom), "The degrees of freedom must be greater than 2."); + } return null; } @@ -219,22 +211,37 @@ public override double ThetaMaximum public override int NumberOfCopulaParameters => 2; /// - public override double[] GetCopulaParameters => new double[] { Theta, (double)DegreesOfFreedom }; + public override double[] GetCopulaParameters => new double[] { Theta, DegreesOfFreedom }; /// + /// + /// ν is clamped to the valid domain (ν > 2) but otherwise kept continuous — no + /// integer rounding. MCMC samplers that propose continuous ν values see a smooth + /// likelihood, avoiding the step-function plateaus produced by previous rounding + /// behavior. The clamp uses 2 + 1e-10 because 2.0 + Tools.DoubleMachineEpsilon + /// rounds back to 2.0 in IEEE 754 (the ULP at 2.0 is 2^-51, larger than ε = 2^-53). + /// public override void SetCopulaParameters(double[] parameters) { Theta = parameters[0]; - DegreesOfFreedom = Math.Max(3, (int)Math.Round(parameters[1])); + DegreesOfFreedom = Math.Max(2.0 + 1E-10, parameters[1]); } /// + /// + /// The upper bound on ν is 30 rather than ∞ for a statistical reason: for ν ≳ 30 the + /// Student's t copula is empirically indistinguishable from the Gaussian copula at + /// typical hydrologic sample sizes (n ≤ a few hundred), so the likelihood is nearly + /// flat on [30, ∞). A Uniform prior across that flat region would drag the posterior + /// mean toward mid-range regardless of the data. Users who genuinely need very high ν + /// should prefer the Normal copula directly. + /// public override double[,] ParameterConstraints(IList sampleDataX, IList sampleDataY) { return new double[,] { { -1 + Tools.DoubleMachineEpsilon, 1 - Tools.DoubleMachineEpsilon }, - { 3, 60 } + { 2.0 + 1E-10, 30 } }; } diff --git a/Numerics/Distributions/Multivariate/Base/IMultivariateDistribution.cs b/Numerics/Distributions/Multivariate/Base/IMultivariateDistribution.cs index d772f878..4dd5279f 100644 --- a/Numerics/Distributions/Multivariate/Base/IMultivariateDistribution.cs +++ b/Numerics/Distributions/Multivariate/Base/IMultivariateDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Multivariate/Base/MultivariateDistribution.cs b/Numerics/Distributions/Multivariate/Base/MultivariateDistribution.cs index 82b5f732..cb456131 100644 --- a/Numerics/Distributions/Multivariate/Base/MultivariateDistribution.cs +++ b/Numerics/Distributions/Multivariate/Base/MultivariateDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Multivariate/Base/MultivariateDistributionType.cs b/Numerics/Distributions/Multivariate/Base/MultivariateDistributionType.cs index 5ee0a75c..9c8ddf0a 100644 --- a/Numerics/Distributions/Multivariate/Base/MultivariateDistributionType.cs +++ b/Numerics/Distributions/Multivariate/Base/MultivariateDistributionType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Multivariate/BivariateEmpirical.cs b/Numerics/Distributions/Multivariate/BivariateEmpirical.cs index 59e26fd8..c9b92e57 100644 --- a/Numerics/Distributions/Multivariate/BivariateEmpirical.cs +++ b/Numerics/Distributions/Multivariate/BivariateEmpirical.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Data; diff --git a/Numerics/Distributions/Multivariate/Dirichlet.cs b/Numerics/Distributions/Multivariate/Dirichlet.cs index 30a48090..c2300aca 100644 --- a/Numerics/Distributions/Multivariate/Dirichlet.cs +++ b/Numerics/Distributions/Multivariate/Dirichlet.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Linq; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Multivariate/Multinomial.cs b/Numerics/Distributions/Multivariate/Multinomial.cs index 8d33674d..31d546ee 100644 --- a/Numerics/Distributions/Multivariate/Multinomial.cs +++ b/Numerics/Distributions/Multivariate/Multinomial.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Numerics.Mathematics.SpecialFunctions; using Numerics.Sampling; diff --git a/Numerics/Distributions/Multivariate/MultivariateNormal.cs b/Numerics/Distributions/Multivariate/MultivariateNormal.cs index 27a60e49..920108ad 100644 --- a/Numerics/Distributions/Multivariate/MultivariateNormal.cs +++ b/Numerics/Distributions/Multivariate/MultivariateNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Distributions/Multivariate/MultivariateStudentT.cs b/Numerics/Distributions/Multivariate/MultivariateStudentT.cs index 5ca6b305..66ce1031 100644 --- a/Numerics/Distributions/Multivariate/MultivariateStudentT.cs +++ b/Numerics/Distributions/Multivariate/MultivariateStudentT.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Distributions/Univariate/Base/IDistribution.cs b/Numerics/Distributions/Univariate/Base/IDistribution.cs index 999a7327..89cd2760 100644 --- a/Numerics/Distributions/Univariate/Base/IDistribution.cs +++ b/Numerics/Distributions/Univariate/Base/IDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions +namespace Numerics.Distributions { /// diff --git a/Numerics/Distributions/Univariate/Base/IUnivariateDistribution.cs b/Numerics/Distributions/Univariate/Base/IUnivariateDistribution.cs index d84e59fb..d1652c29 100644 --- a/Numerics/Distributions/Univariate/Base/IUnivariateDistribution.cs +++ b/Numerics/Distributions/Univariate/Base/IUnivariateDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/Base/UnivariateDistributionBase.cs b/Numerics/Distributions/Univariate/Base/UnivariateDistributionBase.cs index 5a759c25..7c744f60 100644 --- a/Numerics/Distributions/Univariate/Base/UnivariateDistributionBase.cs +++ b/Numerics/Distributions/Univariate/Base/UnivariateDistributionBase.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics; +using Numerics.Mathematics; using Numerics.Mathematics.Integration; using Numerics.Sampling; using System; diff --git a/Numerics/Distributions/Univariate/Base/UnivariateDistributionFactory.cs b/Numerics/Distributions/Univariate/Base/UnivariateDistributionFactory.cs index c631a415..58cad0b5 100644 --- a/Numerics/Distributions/Univariate/Base/UnivariateDistributionFactory.cs +++ b/Numerics/Distributions/Univariate/Base/UnivariateDistributionFactory.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Xml.Linq; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/Base/UnivariateDistributionType.cs b/Numerics/Distributions/Univariate/Base/UnivariateDistributionType.cs index 1d7f11ae..0f0d588a 100644 --- a/Numerics/Distributions/Univariate/Base/UnivariateDistributionType.cs +++ b/Numerics/Distributions/Univariate/Base/UnivariateDistributionType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/Bernoulli.cs b/Numerics/Distributions/Univariate/Bernoulli.cs index 04d47e6c..eb0e7be5 100644 --- a/Numerics/Distributions/Univariate/Bernoulli.cs +++ b/Numerics/Distributions/Univariate/Bernoulli.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/BetaDistribution.cs b/Numerics/Distributions/Univariate/BetaDistribution.cs index 96082e7b..c09f3dc2 100644 --- a/Numerics/Distributions/Univariate/BetaDistribution.cs +++ b/Numerics/Distributions/Univariate/BetaDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/Binomial.cs b/Numerics/Distributions/Univariate/Binomial.cs index 52577320..c5073359 100644 --- a/Numerics/Distributions/Univariate/Binomial.cs +++ b/Numerics/Distributions/Univariate/Binomial.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/Cauchy.cs b/Numerics/Distributions/Univariate/Cauchy.cs index 47ac080a..c22a8087 100644 --- a/Numerics/Distributions/Univariate/Cauchy.cs +++ b/Numerics/Distributions/Univariate/Cauchy.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/ChiSquared.cs b/Numerics/Distributions/Univariate/ChiSquared.cs index 4eb7e708..f2b13531 100644 --- a/Numerics/Distributions/Univariate/ChiSquared.cs +++ b/Numerics/Distributions/Univariate/ChiSquared.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/CompetingRisks.cs b/Numerics/Distributions/Univariate/CompetingRisks.cs index 0c640975..6627eaf8 100644 --- a/Numerics/Distributions/Univariate/CompetingRisks.cs +++ b/Numerics/Distributions/Univariate/CompetingRisks.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data; +using Numerics.Data; using Numerics.Data.Statistics; using Numerics.Mathematics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/Deterministic.cs b/Numerics/Distributions/Univariate/Deterministic.cs index 3549db26..dcdbd9ef 100644 --- a/Numerics/Distributions/Univariate/Deterministic.cs +++ b/Numerics/Distributions/Univariate/Deterministic.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Univariate/EmpiricalDistribution.cs b/Numerics/Distributions/Univariate/EmpiricalDistribution.cs index d348321d..abfd33b9 100644 --- a/Numerics/Distributions/Univariate/EmpiricalDistribution.cs +++ b/Numerics/Distributions/Univariate/EmpiricalDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; diff --git a/Numerics/Distributions/Univariate/Exponential.cs b/Numerics/Distributions/Univariate/Exponential.cs index f35a9165..832eef3b 100644 --- a/Numerics/Distributions/Univariate/Exponential.cs +++ b/Numerics/Distributions/Univariate/Exponential.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/GammaDistribution.cs b/Numerics/Distributions/Univariate/GammaDistribution.cs index a157d3e3..75d49291 100644 --- a/Numerics/Distributions/Univariate/GammaDistribution.cs +++ b/Numerics/Distributions/Univariate/GammaDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// Since I use functions from the Accord Math Library, here is the required license header: +// Since I use functions from the Accord Math Library, here is the required license header: // Haden Smith (November 2017) // // Accord Math Library diff --git a/Numerics/Distributions/Univariate/GeneralizedBeta.cs b/Numerics/Distributions/Univariate/GeneralizedBeta.cs index ae9135d7..33285244 100644 --- a/Numerics/Distributions/Univariate/GeneralizedBeta.cs +++ b/Numerics/Distributions/Univariate/GeneralizedBeta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/GeneralizedExtremeValue.cs b/Numerics/Distributions/Univariate/GeneralizedExtremeValue.cs index 957a5fb0..08330770 100644 --- a/Numerics/Distributions/Univariate/GeneralizedExtremeValue.cs +++ b/Numerics/Distributions/Univariate/GeneralizedExtremeValue.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Distributions/Univariate/GeneralizedLogistic.cs b/Numerics/Distributions/Univariate/GeneralizedLogistic.cs index 2066cf7e..42eecc44 100644 --- a/Numerics/Distributions/Univariate/GeneralizedLogistic.cs +++ b/Numerics/Distributions/Univariate/GeneralizedLogistic.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/GeneralizedNormal.cs b/Numerics/Distributions/Univariate/GeneralizedNormal.cs index c61c69f6..8a62cee5 100644 --- a/Numerics/Distributions/Univariate/GeneralizedNormal.cs +++ b/Numerics/Distributions/Univariate/GeneralizedNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics; diff --git a/Numerics/Distributions/Univariate/GeneralizedPareto.cs b/Numerics/Distributions/Univariate/GeneralizedPareto.cs index ed5ecc27..9a46d154 100644 --- a/Numerics/Distributions/Univariate/GeneralizedPareto.cs +++ b/Numerics/Distributions/Univariate/GeneralizedPareto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/Geometric.cs b/Numerics/Distributions/Univariate/Geometric.cs index 9fe33ad9..40b4e584 100644 --- a/Numerics/Distributions/Univariate/Geometric.cs +++ b/Numerics/Distributions/Univariate/Geometric.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/Gumbel.cs b/Numerics/Distributions/Univariate/Gumbel.cs index a2a148a5..08656a31 100644 --- a/Numerics/Distributions/Univariate/Gumbel.cs +++ b/Numerics/Distributions/Univariate/Gumbel.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/InverseChiSquared.cs b/Numerics/Distributions/Univariate/InverseChiSquared.cs index f8911d7f..b6905ff8 100644 --- a/Numerics/Distributions/Univariate/InverseChiSquared.cs +++ b/Numerics/Distributions/Univariate/InverseChiSquared.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/InverseGamma.cs b/Numerics/Distributions/Univariate/InverseGamma.cs index 5d7d6999..479e0b48 100644 --- a/Numerics/Distributions/Univariate/InverseGamma.cs +++ b/Numerics/Distributions/Univariate/InverseGamma.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/KappaFour.cs b/Numerics/Distributions/Univariate/KappaFour.cs index 16bc2f34..8b907c32 100644 --- a/Numerics/Distributions/Univariate/KappaFour.cs +++ b/Numerics/Distributions/Univariate/KappaFour.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Distributions/Univariate/KernelDensity.cs b/Numerics/Distributions/Univariate/KernelDensity.cs index e16a1aed..85e13bec 100644 --- a/Numerics/Distributions/Univariate/KernelDensity.cs +++ b/Numerics/Distributions/Univariate/KernelDensity.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; diff --git a/Numerics/Distributions/Univariate/LnNormal.cs b/Numerics/Distributions/Univariate/LnNormal.cs index 66d41c7c..910c1cc6 100644 --- a/Numerics/Distributions/Univariate/LnNormal.cs +++ b/Numerics/Distributions/Univariate/LnNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/LogNormal.cs b/Numerics/Distributions/Univariate/LogNormal.cs index 00a0e8b0..86c80da9 100644 --- a/Numerics/Distributions/Univariate/LogNormal.cs +++ b/Numerics/Distributions/Univariate/LogNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using Numerics.Data.Statistics; diff --git a/Numerics/Distributions/Univariate/LogPearsonTypeIII.cs b/Numerics/Distributions/Univariate/LogPearsonTypeIII.cs index 7db094c5..f60e2f1e 100644 --- a/Numerics/Distributions/Univariate/LogPearsonTypeIII.cs +++ b/Numerics/Distributions/Univariate/LogPearsonTypeIII.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Buffers.Text; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Distributions/Univariate/Logistic.cs b/Numerics/Distributions/Univariate/Logistic.cs index 579bb7c7..9a5f8099 100644 --- a/Numerics/Distributions/Univariate/Logistic.cs +++ b/Numerics/Distributions/Univariate/Logistic.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Distributions/Univariate/Mixture.cs b/Numerics/Distributions/Univariate/Mixture.cs index e52d6aa6..f6f311a8 100644 --- a/Numerics/Distributions/Univariate/Mixture.cs +++ b/Numerics/Distributions/Univariate/Mixture.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data; +using Numerics.Data; using Numerics.Mathematics.Optimization; using Numerics.Mathematics.RootFinding; using Numerics.Sampling; diff --git a/Numerics/Distributions/Univariate/NoncentralT.cs b/Numerics/Distributions/Univariate/NoncentralT.cs index e7b9cd0c..2b7c176e 100644 --- a/Numerics/Distributions/Univariate/NoncentralT.cs +++ b/Numerics/Distributions/Univariate/NoncentralT.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.Optimization; using Numerics.Mathematics.RootFinding; diff --git a/Numerics/Distributions/Univariate/Normal.cs b/Numerics/Distributions/Univariate/Normal.cs index cb25df2e..b12ab7b1 100644 --- a/Numerics/Distributions/Univariate/Normal.cs +++ b/Numerics/Distributions/Univariate/Normal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/Numerics/Distributions/Univariate/Parameter Estimation/EstimationMethod.cs b/Numerics/Distributions/Univariate/Parameter Estimation/EstimationMethod.cs index 84409bfb..af862507 100644 --- a/Numerics/Distributions/Univariate/Parameter Estimation/EstimationMethod.cs +++ b/Numerics/Distributions/Univariate/Parameter Estimation/EstimationMethod.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions +namespace Numerics.Distributions { /// diff --git a/Numerics/Distributions/Univariate/Parameter Estimation/IEstimation.cs b/Numerics/Distributions/Univariate/Parameter Estimation/IEstimation.cs index 3a8a009b..8e114ccb 100644 --- a/Numerics/Distributions/Univariate/Parameter Estimation/IEstimation.cs +++ b/Numerics/Distributions/Univariate/Parameter Estimation/IEstimation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/Parameter Estimation/ILinearMomentEstimation.cs b/Numerics/Distributions/Univariate/Parameter Estimation/ILinearMomentEstimation.cs index d62c1352..b80cc063 100644 --- a/Numerics/Distributions/Univariate/Parameter Estimation/ILinearMomentEstimation.cs +++ b/Numerics/Distributions/Univariate/Parameter Estimation/ILinearMomentEstimation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/Parameter Estimation/IMaximumLikelihoodEstimation.cs b/Numerics/Distributions/Univariate/Parameter Estimation/IMaximumLikelihoodEstimation.cs index 518e207f..3dae98b6 100644 --- a/Numerics/Distributions/Univariate/Parameter Estimation/IMaximumLikelihoodEstimation.cs +++ b/Numerics/Distributions/Univariate/Parameter Estimation/IMaximumLikelihoodEstimation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/Parameter Estimation/IMomentEstimation.cs b/Numerics/Distributions/Univariate/Parameter Estimation/IMomentEstimation.cs index fe0dde58..b8bd9ca6 100644 --- a/Numerics/Distributions/Univariate/Parameter Estimation/IMomentEstimation.cs +++ b/Numerics/Distributions/Univariate/Parameter Estimation/IMomentEstimation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/Pareto.cs b/Numerics/Distributions/Univariate/Pareto.cs index eee28107..61370c3f 100644 --- a/Numerics/Distributions/Univariate/Pareto.cs +++ b/Numerics/Distributions/Univariate/Pareto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/PearsonTypeIII.cs b/Numerics/Distributions/Univariate/PearsonTypeIII.cs index 2cb1a8a8..651c8dd7 100644 --- a/Numerics/Distributions/Univariate/PearsonTypeIII.cs +++ b/Numerics/Distributions/Univariate/PearsonTypeIII.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Data.Statistics; diff --git a/Numerics/Distributions/Univariate/Pert.cs b/Numerics/Distributions/Univariate/Pert.cs index 74830aa8..8dc16b22 100644 --- a/Numerics/Distributions/Univariate/Pert.cs +++ b/Numerics/Distributions/Univariate/Pert.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Univariate/PertPercentile.cs b/Numerics/Distributions/Univariate/PertPercentile.cs index b19060c5..2ab721b3 100644 --- a/Numerics/Distributions/Univariate/PertPercentile.cs +++ b/Numerics/Distributions/Univariate/PertPercentile.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; diff --git a/Numerics/Distributions/Univariate/PertPercentileZ.cs b/Numerics/Distributions/Univariate/PertPercentileZ.cs index fa9d2e56..3acc229c 100644 --- a/Numerics/Distributions/Univariate/PertPercentileZ.cs +++ b/Numerics/Distributions/Univariate/PertPercentileZ.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Xml.Linq; diff --git a/Numerics/Distributions/Univariate/Poisson.cs b/Numerics/Distributions/Univariate/Poisson.cs index 6ead9394..0bfd0c85 100644 --- a/Numerics/Distributions/Univariate/Poisson.cs +++ b/Numerics/Distributions/Univariate/Poisson.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.RootFinding; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/Rayleigh.cs b/Numerics/Distributions/Univariate/Rayleigh.cs index a007d2b6..a74e6a11 100644 --- a/Numerics/Distributions/Univariate/Rayleigh.cs +++ b/Numerics/Distributions/Univariate/Rayleigh.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Data.Statistics; using Numerics.Mathematics.SpecialFunctions; diff --git a/Numerics/Distributions/Univariate/StudentT.cs b/Numerics/Distributions/Univariate/StudentT.cs index 7f5fae35..31b3cd13 100644 --- a/Numerics/Distributions/Univariate/StudentT.cs +++ b/Numerics/Distributions/Univariate/StudentT.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// Since I use functions from the Accord Math Library, here is the required license header: +// Since I use functions from the Accord Math Library, here is the required license header: // Haden Smith (January 2019) // // Accord Math Library diff --git a/Numerics/Distributions/Univariate/Triangular.cs b/Numerics/Distributions/Univariate/Triangular.cs index b5c26988..9861d223 100644 --- a/Numerics/Distributions/Univariate/Triangular.cs +++ b/Numerics/Distributions/Univariate/Triangular.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.Optimization; +using Numerics.Mathematics.Optimization; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Univariate/TruncatedDistribution.cs b/Numerics/Distributions/Univariate/TruncatedDistribution.cs index 368e7339..f01b5e2f 100644 --- a/Numerics/Distributions/Univariate/TruncatedDistribution.cs +++ b/Numerics/Distributions/Univariate/TruncatedDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.Optimization; +using Numerics.Mathematics.Optimization; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/TruncatedNormal.cs b/Numerics/Distributions/Univariate/TruncatedNormal.cs index 7ba57eaa..cbb3d501 100644 --- a/Numerics/Distributions/Univariate/TruncatedNormal.cs +++ b/Numerics/Distributions/Univariate/TruncatedNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; diff --git a/Numerics/Distributions/Univariate/Uncertainty Analysis/BootstrapAnalysis.cs b/Numerics/Distributions/Univariate/Uncertainty Analysis/BootstrapAnalysis.cs index 033a5ed0..6094656f 100644 --- a/Numerics/Distributions/Univariate/Uncertainty Analysis/BootstrapAnalysis.cs +++ b/Numerics/Distributions/Univariate/Uncertainty Analysis/BootstrapAnalysis.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/Numerics/Distributions/Univariate/Uncertainty Analysis/IBootstrappable.cs b/Numerics/Distributions/Univariate/Uncertainty Analysis/IBootstrappable.cs index 349bc07d..4b768b7f 100644 --- a/Numerics/Distributions/Univariate/Uncertainty Analysis/IBootstrappable.cs +++ b/Numerics/Distributions/Univariate/Uncertainty Analysis/IBootstrappable.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Distributions +namespace Numerics.Distributions { /// diff --git a/Numerics/Distributions/Univariate/Uncertainty Analysis/IStandardError.cs b/Numerics/Distributions/Univariate/Uncertainty Analysis/IStandardError.cs index e4793798..0ab10370 100644 --- a/Numerics/Distributions/Univariate/Uncertainty Analysis/IStandardError.cs +++ b/Numerics/Distributions/Univariate/Uncertainty Analysis/IStandardError.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; namespace Numerics.Distributions { diff --git a/Numerics/Distributions/Univariate/Uncertainty Analysis/UncertaintyAnalysisResults.cs b/Numerics/Distributions/Univariate/Uncertainty Analysis/UncertaintyAnalysisResults.cs index a46a42fb..b908cc7e 100644 --- a/Numerics/Distributions/Univariate/Uncertainty Analysis/UncertaintyAnalysisResults.cs +++ b/Numerics/Distributions/Univariate/Uncertainty Analysis/UncertaintyAnalysisResults.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data; +using Numerics.Data; using Numerics.Data.Statistics; using Numerics.Mathematics.Optimization; using Numerics.Sampling.MCMC; diff --git a/Numerics/Distributions/Univariate/Uniform.cs b/Numerics/Distributions/Univariate/Uniform.cs index b5448bad..986192f3 100644 --- a/Numerics/Distributions/Univariate/Uniform.cs +++ b/Numerics/Distributions/Univariate/Uniform.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/UniformDiscrete.cs b/Numerics/Distributions/Univariate/UniformDiscrete.cs index 7421a384..ec3f3daf 100644 --- a/Numerics/Distributions/Univariate/UniformDiscrete.cs +++ b/Numerics/Distributions/Univariate/UniformDiscrete.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Distributions diff --git a/Numerics/Distributions/Univariate/VonMises.cs b/Numerics/Distributions/Univariate/VonMises.cs index 950c2eeb..80849464 100644 --- a/Numerics/Distributions/Univariate/VonMises.cs +++ b/Numerics/Distributions/Univariate/VonMises.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Collections.Generic; using Numerics.Mathematics.Integration; diff --git a/Numerics/Distributions/Univariate/Weibull.cs b/Numerics/Distributions/Univariate/Weibull.cs index 0e399fc7..106bae67 100644 --- a/Numerics/Distributions/Univariate/Weibull.cs +++ b/Numerics/Distributions/Univariate/Weibull.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Functions/IUnivariateFunction.cs b/Numerics/Functions/IUnivariateFunction.cs index 3af50b90..31e23031 100644 --- a/Numerics/Functions/IUnivariateFunction.cs +++ b/Numerics/Functions/IUnivariateFunction.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Functions diff --git a/Numerics/Functions/LinearFunction.cs b/Numerics/Functions/LinearFunction.cs index f66b2ff1..3109a397 100644 --- a/Numerics/Functions/LinearFunction.cs +++ b/Numerics/Functions/LinearFunction.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using System; using System.Collections.Generic; diff --git a/Numerics/Functions/Link Functions/ComplementaryLogLogLink.cs b/Numerics/Functions/Link Functions/ComplementaryLogLogLink.cs index c74deec9..e8001215 100644 --- a/Numerics/Functions/Link Functions/ComplementaryLogLogLink.cs +++ b/Numerics/Functions/Link Functions/ComplementaryLogLogLink.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; diff --git a/Numerics/Functions/Link Functions/ILinkFunction.cs b/Numerics/Functions/Link Functions/ILinkFunction.cs index 29689724..61550e48 100644 --- a/Numerics/Functions/Link Functions/ILinkFunction.cs +++ b/Numerics/Functions/Link Functions/ILinkFunction.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System.Xml.Linq; namespace Numerics.Functions diff --git a/Numerics/Functions/Link Functions/IdentityLink.cs b/Numerics/Functions/Link Functions/IdentityLink.cs index fefedcbb..351100f5 100644 --- a/Numerics/Functions/Link Functions/IdentityLink.cs +++ b/Numerics/Functions/Link Functions/IdentityLink.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System.Xml.Linq; namespace Numerics.Functions diff --git a/Numerics/Functions/Link Functions/LinkController.cs b/Numerics/Functions/Link Functions/LinkController.cs index 51f7dbde..94bc6712 100644 --- a/Numerics/Functions/Link Functions/LinkController.cs +++ b/Numerics/Functions/Link Functions/LinkController.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Linq; using System.Xml.Linq; diff --git a/Numerics/Functions/Link Functions/LinkFunctionFactory.cs b/Numerics/Functions/Link Functions/LinkFunctionFactory.cs index 3ea38d5b..4413a037 100644 --- a/Numerics/Functions/Link Functions/LinkFunctionFactory.cs +++ b/Numerics/Functions/Link Functions/LinkFunctionFactory.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; diff --git a/Numerics/Functions/Link Functions/LinkFunctionType.cs b/Numerics/Functions/Link Functions/LinkFunctionType.cs index 060da8f1..5b58bdcf 100644 --- a/Numerics/Functions/Link Functions/LinkFunctionType.cs +++ b/Numerics/Functions/Link Functions/LinkFunctionType.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - namespace Numerics.Functions { /// diff --git a/Numerics/Functions/Link Functions/LogLink.cs b/Numerics/Functions/Link Functions/LogLink.cs index a8f86e2b..7d7bacdb 100644 --- a/Numerics/Functions/Link Functions/LogLink.cs +++ b/Numerics/Functions/Link Functions/LogLink.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; diff --git a/Numerics/Functions/Link Functions/LogitLink.cs b/Numerics/Functions/Link Functions/LogitLink.cs index 08c286b0..4c677172 100644 --- a/Numerics/Functions/Link Functions/LogitLink.cs +++ b/Numerics/Functions/Link Functions/LogitLink.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; diff --git a/Numerics/Functions/Link Functions/ProbitLink.cs b/Numerics/Functions/Link Functions/ProbitLink.cs index 208c8f52..8c40987d 100644 --- a/Numerics/Functions/Link Functions/ProbitLink.cs +++ b/Numerics/Functions/Link Functions/ProbitLink.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; using Numerics.Distributions; diff --git a/Numerics/Functions/PowerFunction.cs b/Numerics/Functions/PowerFunction.cs index 1386eac9..27492dbd 100644 --- a/Numerics/Functions/PowerFunction.cs +++ b/Numerics/Functions/PowerFunction.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using System; using System.Collections.Generic; diff --git a/Numerics/Functions/TabularFunction.cs b/Numerics/Functions/TabularFunction.cs index b1f33a1a..815c7623 100644 --- a/Numerics/Functions/TabularFunction.cs +++ b/Numerics/Functions/TabularFunction.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data; +using Numerics.Data; using System; using System.Collections.Generic; diff --git a/Numerics/Machine Learning/Supervised/DecisionTree.cs b/Numerics/Machine Learning/Supervised/DecisionTree.cs index 0333f807..f6db1b76 100644 --- a/Numerics/Machine Learning/Supervised/DecisionTree.cs +++ b/Numerics/Machine Learning/Supervised/DecisionTree.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using Numerics.Sampling; diff --git a/Numerics/Machine Learning/Supervised/GeneralizedLinearModel.cs b/Numerics/Machine Learning/Supervised/GeneralizedLinearModel.cs index c5358187..bab2c8bf 100644 --- a/Numerics/Machine Learning/Supervised/GeneralizedLinearModel.cs +++ b/Numerics/Machine Learning/Supervised/GeneralizedLinearModel.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Functions; diff --git a/Numerics/Machine Learning/Supervised/KNearestNeighbors.cs b/Numerics/Machine Learning/Supervised/KNearestNeighbors.cs index 0c8290c1..6899a595 100644 --- a/Numerics/Machine Learning/Supervised/KNearestNeighbors.cs +++ b/Numerics/Machine Learning/Supervised/KNearestNeighbors.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Mathematics.LinearAlgebra; using Numerics.Sampling; using System; diff --git a/Numerics/Machine Learning/Supervised/NaiveBayes.cs b/Numerics/Machine Learning/Supervised/NaiveBayes.cs index 4ad53997..a0aea9b1 100644 --- a/Numerics/Machine Learning/Supervised/NaiveBayes.cs +++ b/Numerics/Machine Learning/Supervised/NaiveBayes.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using System; using System.Linq; diff --git a/Numerics/Machine Learning/Supervised/RandomForest.cs b/Numerics/Machine Learning/Supervised/RandomForest.cs index 09cfc171..e19675f2 100644 --- a/Numerics/Machine Learning/Supervised/RandomForest.cs +++ b/Numerics/Machine Learning/Supervised/RandomForest.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Mathematics.LinearAlgebra; using Numerics.Sampling; using System; diff --git a/Numerics/Machine Learning/Support/DecisionNode.cs b/Numerics/Machine Learning/Support/DecisionNode.cs index 9288d5c6..f5077a5c 100644 --- a/Numerics/Machine Learning/Support/DecisionNode.cs +++ b/Numerics/Machine Learning/Support/DecisionNode.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.MachineLearning +namespace Numerics.MachineLearning { /// /// A decision node class. diff --git a/Numerics/Machine Learning/Support/JenksCluster.cs b/Numerics/Machine Learning/Support/JenksCluster.cs index 2c06c611..1df9a6b4 100644 --- a/Numerics/Machine Learning/Support/JenksCluster.cs +++ b/Numerics/Machine Learning/Support/JenksCluster.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.MachineLearning { diff --git a/Numerics/Machine Learning/Unsupervised/GaussianMixtureModel.cs b/Numerics/Machine Learning/Unsupervised/GaussianMixtureModel.cs index 6114c8d8..dec66a47 100644 --- a/Numerics/Machine Learning/Unsupervised/GaussianMixtureModel.cs +++ b/Numerics/Machine Learning/Unsupervised/GaussianMixtureModel.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using System; namespace Numerics.MachineLearning diff --git a/Numerics/Machine Learning/Unsupervised/JenksNaturalBreaks.cs b/Numerics/Machine Learning/Unsupervised/JenksNaturalBreaks.cs index c2df6e79..43ff0dcf 100644 --- a/Numerics/Machine Learning/Unsupervised/JenksNaturalBreaks.cs +++ b/Numerics/Machine Learning/Unsupervised/JenksNaturalBreaks.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Machine Learning/Unsupervised/KMeans.cs b/Numerics/Machine Learning/Unsupervised/KMeans.cs index f4abcb20..3486d1fb 100644 --- a/Numerics/Machine Learning/Unsupervised/KMeans.cs +++ b/Numerics/Machine Learning/Unsupervised/KMeans.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using Numerics.Sampling; using System; using System.Linq; diff --git a/Numerics/Mathematics/Differentiation/NumericalDerivative.cs b/Numerics/Mathematics/Differentiation/NumericalDerivative.cs index 312c2fa6..3443f4f8 100644 --- a/Numerics/Mathematics/Differentiation/NumericalDerivative.cs +++ b/Numerics/Mathematics/Differentiation/NumericalDerivative.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using System; namespace Numerics.Mathematics diff --git a/Numerics/Mathematics/Fourier Methods/Fourier.cs b/Numerics/Mathematics/Fourier Methods/Fourier.cs index 5d17983f..1d75ee59 100644 --- a/Numerics/Mathematics/Fourier Methods/Fourier.cs +++ b/Numerics/Mathematics/Fourier Methods/Fourier.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Data.Statistics; diff --git a/Numerics/Mathematics/Integration/AdaptiveGaussLobatto.cs b/Numerics/Mathematics/Integration/AdaptiveGaussLobatto.cs index a37b738c..ce1ef918 100644 --- a/Numerics/Mathematics/Integration/AdaptiveGaussLobatto.cs +++ b/Numerics/Mathematics/Integration/AdaptiveGaussLobatto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/AdaptiveGuassKronrod.cs b/Numerics/Mathematics/Integration/AdaptiveGuassKronrod.cs index 9f938447..c34c5a89 100644 --- a/Numerics/Mathematics/Integration/AdaptiveGuassKronrod.cs +++ b/Numerics/Mathematics/Integration/AdaptiveGuassKronrod.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule.cs b/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule.cs index 4f1b6f55..3c2c66eb 100644 --- a/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule.cs +++ b/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule2D.cs b/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule2D.cs index 5539218e..08c43865 100644 --- a/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule2D.cs +++ b/Numerics/Mathematics/Integration/AdaptiveSimpsonsRule2D.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Mathematics.Integration +namespace Numerics.Mathematics.Integration { /// /// A class that performs adaptive Simpson's integration in two dimensions. diff --git a/Numerics/Mathematics/Integration/Integration.cs b/Numerics/Mathematics/Integration/Integration.cs index 1f12f7ab..ff4eb391 100644 --- a/Numerics/Mathematics/Integration/Integration.cs +++ b/Numerics/Mathematics/Integration/Integration.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/Miser.cs b/Numerics/Mathematics/Integration/Miser.cs index d35aa105..28d8aa48 100644 --- a/Numerics/Mathematics/Integration/Miser.cs +++ b/Numerics/Mathematics/Integration/Miser.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Integration/MonteCarloIntegration.cs b/Numerics/Mathematics/Integration/MonteCarloIntegration.cs index b6e36097..53bf9469 100644 --- a/Numerics/Mathematics/Integration/MonteCarloIntegration.cs +++ b/Numerics/Mathematics/Integration/MonteCarloIntegration.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Integration/SimpsonsRule.cs b/Numerics/Mathematics/Integration/SimpsonsRule.cs index 13181b25..a79c4dd7 100644 --- a/Numerics/Mathematics/Integration/SimpsonsRule.cs +++ b/Numerics/Mathematics/Integration/SimpsonsRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/Support/IntegrationStatus.cs b/Numerics/Mathematics/Integration/Support/IntegrationStatus.cs index 66be9620..a93e1559 100644 --- a/Numerics/Mathematics/Integration/Support/IntegrationStatus.cs +++ b/Numerics/Mathematics/Integration/Support/IntegrationStatus.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics { diff --git a/Numerics/Mathematics/Integration/Support/Integrator.cs b/Numerics/Mathematics/Integration/Support/Integrator.cs index e9baeceb..dd539860 100644 --- a/Numerics/Mathematics/Integration/Support/Integrator.cs +++ b/Numerics/Mathematics/Integration/Support/Integrator.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/TrapezoidalRule.cs b/Numerics/Mathematics/Integration/TrapezoidalRule.cs index e1767449..ba4b449f 100644 --- a/Numerics/Mathematics/Integration/TrapezoidalRule.cs +++ b/Numerics/Mathematics/Integration/TrapezoidalRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Integration { diff --git a/Numerics/Mathematics/Integration/Vegas.cs b/Numerics/Mathematics/Integration/Vegas.cs index 5a522952..afac4193 100644 --- a/Numerics/Mathematics/Integration/Vegas.cs +++ b/Numerics/Mathematics/Integration/Vegas.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Linear Algebra/CholeskyDecomposition.cs b/Numerics/Mathematics/Linear Algebra/CholeskyDecomposition.cs index cdd4c1e1..33a3a1d0 100644 --- a/Numerics/Mathematics/Linear Algebra/CholeskyDecomposition.cs +++ b/Numerics/Mathematics/Linear Algebra/CholeskyDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.LinearAlgebra { diff --git a/Numerics/Mathematics/Linear Algebra/EigenValueDecomposition.cs b/Numerics/Mathematics/Linear Algebra/EigenValueDecomposition.cs index ae09999a..3749fcb5 100644 --- a/Numerics/Mathematics/Linear Algebra/EigenValueDecomposition.cs +++ b/Numerics/Mathematics/Linear Algebra/EigenValueDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Mathematics.LinearAlgebra +namespace Numerics.Mathematics.LinearAlgebra { /// /// A class for computing all eigenvalues and eigenvectors of a real symmetric matrix using the Jacobi rotation method. diff --git a/Numerics/Mathematics/Linear Algebra/GaussJordanElimination.cs b/Numerics/Mathematics/Linear Algebra/GaussJordanElimination.cs index 131a43b5..a01d56a0 100644 --- a/Numerics/Mathematics/Linear Algebra/GaussJordanElimination.cs +++ b/Numerics/Mathematics/Linear Algebra/GaussJordanElimination.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.LinearAlgebra { diff --git a/Numerics/Mathematics/Linear Algebra/LUDecomposition.cs b/Numerics/Mathematics/Linear Algebra/LUDecomposition.cs index be225d0f..13efd856 100644 --- a/Numerics/Mathematics/Linear Algebra/LUDecomposition.cs +++ b/Numerics/Mathematics/Linear Algebra/LUDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.LinearAlgebra { diff --git a/Numerics/Mathematics/Linear Algebra/MatrixRegularization.cs b/Numerics/Mathematics/Linear Algebra/MatrixRegularization.cs index 41b8a1f0..98a5bbe7 100644 --- a/Numerics/Mathematics/Linear Algebra/MatrixRegularization.cs +++ b/Numerics/Mathematics/Linear Algebra/MatrixRegularization.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -namespace Numerics.Mathematics.LinearAlgebra +namespace Numerics.Mathematics.LinearAlgebra { /// /// A class for performing Matrix regularization. diff --git a/Numerics/Mathematics/Linear Algebra/QRDecomposition.cs b/Numerics/Mathematics/Linear Algebra/QRDecomposition.cs index 6ac975af..51d7d9b5 100644 --- a/Numerics/Mathematics/Linear Algebra/QRDecomposition.cs +++ b/Numerics/Mathematics/Linear Algebra/QRDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.LinearAlgebra { diff --git a/Numerics/Mathematics/Linear Algebra/SingularValueDecomposition.cs b/Numerics/Mathematics/Linear Algebra/SingularValueDecomposition.cs index 01129ed4..6956ffe9 100644 --- a/Numerics/Mathematics/Linear Algebra/SingularValueDecomposition.cs +++ b/Numerics/Mathematics/Linear Algebra/SingularValueDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.LinearAlgebra { diff --git a/Numerics/Mathematics/Linear Algebra/Support/Matrix.cs b/Numerics/Mathematics/Linear Algebra/Support/Matrix.cs index 1ca88c9c..bf82c388 100644 --- a/Numerics/Mathematics/Linear Algebra/Support/Matrix.cs +++ b/Numerics/Mathematics/Linear Algebra/Support/Matrix.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Xml.Linq; diff --git a/Numerics/Mathematics/Linear Algebra/Support/Vector.cs b/Numerics/Mathematics/Linear Algebra/Support/Vector.cs index 86eaaec0..6981b992 100644 --- a/Numerics/Mathematics/Linear Algebra/Support/Vector.cs +++ b/Numerics/Mathematics/Linear Algebra/Support/Vector.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/ODE Solvers/RungeKutta.cs b/Numerics/Mathematics/ODE Solvers/RungeKutta.cs index bc05ecd6..f64dcca3 100644 --- a/Numerics/Mathematics/ODE Solvers/RungeKutta.cs +++ b/Numerics/Mathematics/ODE Solvers/RungeKutta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.ODESolvers { diff --git a/Numerics/Mathematics/Optimization/Constrained/AugmentedLagrange.cs b/Numerics/Mathematics/Optimization/Constrained/AugmentedLagrange.cs index b724963f..0c31168f 100644 --- a/Numerics/Mathematics/Optimization/Constrained/AugmentedLagrange.cs +++ b/Numerics/Mathematics/Optimization/Constrained/AugmentedLagrange.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Constrained/Constraint/Constraint.cs b/Numerics/Mathematics/Optimization/Constrained/Constraint/Constraint.cs index 0473e54e..74a8e3ab 100644 --- a/Numerics/Mathematics/Optimization/Constrained/Constraint/Constraint.cs +++ b/Numerics/Mathematics/Optimization/Constrained/Constraint/Constraint.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Constrained/Constraint/ConstraintType.cs b/Numerics/Mathematics/Optimization/Constrained/Constraint/ConstraintType.cs index 4ad9043e..89f48394 100644 --- a/Numerics/Mathematics/Optimization/Constrained/Constraint/ConstraintType.cs +++ b/Numerics/Mathematics/Optimization/Constrained/Constraint/ConstraintType.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Constrained/Constraint/IConstraint.cs b/Numerics/Mathematics/Optimization/Constrained/Constraint/IConstraint.cs index 59f4bc47..778fb461 100644 --- a/Numerics/Mathematics/Optimization/Constrained/Constraint/IConstraint.cs +++ b/Numerics/Mathematics/Optimization/Constrained/Constraint/IConstraint.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Dynamic/BinaryHeap.cs b/Numerics/Mathematics/Optimization/Dynamic/BinaryHeap.cs index 76fde4b1..02f56a4b 100644 --- a/Numerics/Mathematics/Optimization/Dynamic/BinaryHeap.cs +++ b/Numerics/Mathematics/Optimization/Dynamic/BinaryHeap.cs @@ -1,34 +1,4 @@ -/** -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -* **/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Numerics/Mathematics/Optimization/Dynamic/Dijkstra.cs b/Numerics/Mathematics/Optimization/Dynamic/Dijkstra.cs index 01f23195..af9e6b48 100644 --- a/Numerics/Mathematics/Optimization/Dynamic/Dijkstra.cs +++ b/Numerics/Mathematics/Optimization/Dynamic/Dijkstra.cs @@ -1,34 +1,4 @@ -/** -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -* **/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Numerics/Mathematics/Optimization/Dynamic/Network.cs b/Numerics/Mathematics/Optimization/Dynamic/Network.cs index b433fa8c..40d3642b 100644 --- a/Numerics/Mathematics/Optimization/Dynamic/Network.cs +++ b/Numerics/Mathematics/Optimization/Dynamic/Network.cs @@ -1,34 +1,4 @@ -/** -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -* **/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Numerics/Mathematics/Optimization/Global/DifferentialEvolution.cs b/Numerics/Mathematics/Optimization/Global/DifferentialEvolution.cs index 9e8c5a92..5e0be11d 100644 --- a/Numerics/Mathematics/Optimization/Global/DifferentialEvolution.cs +++ b/Numerics/Mathematics/Optimization/Global/DifferentialEvolution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Mathematics/Optimization/Global/MLSL.cs b/Numerics/Mathematics/Optimization/Global/MLSL.cs index 90e21695..b4e8c7e0 100644 --- a/Numerics/Mathematics/Optimization/Global/MLSL.cs +++ b/Numerics/Mathematics/Optimization/Global/MLSL.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Mathematics/Optimization/Global/MultiStart.cs b/Numerics/Mathematics/Optimization/Global/MultiStart.cs index 28335f61..b6c1fa35 100644 --- a/Numerics/Mathematics/Optimization/Global/MultiStart.cs +++ b/Numerics/Mathematics/Optimization/Global/MultiStart.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Mathematics/Optimization/Global/ParticleSwarm.cs b/Numerics/Mathematics/Optimization/Global/ParticleSwarm.cs index 3384822c..ace43134 100644 --- a/Numerics/Mathematics/Optimization/Global/ParticleSwarm.cs +++ b/Numerics/Mathematics/Optimization/Global/ParticleSwarm.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Mathematics/Optimization/Global/ShuffledComplexEvolution.cs b/Numerics/Mathematics/Optimization/Global/ShuffledComplexEvolution.cs index 5856e54a..17e2ede6 100644 --- a/Numerics/Mathematics/Optimization/Global/ShuffledComplexEvolution.cs +++ b/Numerics/Mathematics/Optimization/Global/ShuffledComplexEvolution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Distributions; diff --git a/Numerics/Mathematics/Optimization/Global/SimulatedAnnealing.cs b/Numerics/Mathematics/Optimization/Global/SimulatedAnnealing.cs index f889b915..1e894ad9 100644 --- a/Numerics/Mathematics/Optimization/Global/SimulatedAnnealing.cs +++ b/Numerics/Mathematics/Optimization/Global/SimulatedAnnealing.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using Numerics.Sampling; using System; using System.Collections.Generic; diff --git a/Numerics/Mathematics/Optimization/Local/ADAM.cs b/Numerics/Mathematics/Optimization/Local/ADAM.cs index 822cab3f..88d89a0d 100644 --- a/Numerics/Mathematics/Optimization/Local/ADAM.cs +++ b/Numerics/Mathematics/Optimization/Local/ADAM.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Local/BFGS.cs b/Numerics/Mathematics/Optimization/Local/BFGS.cs index a7b02d54..c48d33fb 100644 --- a/Numerics/Mathematics/Optimization/Local/BFGS.cs +++ b/Numerics/Mathematics/Optimization/Local/BFGS.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Local/BrentSearch.cs b/Numerics/Mathematics/Optimization/Local/BrentSearch.cs index 83b06be2..7e0f3079 100644 --- a/Numerics/Mathematics/Optimization/Local/BrentSearch.cs +++ b/Numerics/Mathematics/Optimization/Local/BrentSearch.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Local/GoldenSection.cs b/Numerics/Mathematics/Optimization/Local/GoldenSection.cs index 98a95714..428165c8 100644 --- a/Numerics/Mathematics/Optimization/Local/GoldenSection.cs +++ b/Numerics/Mathematics/Optimization/Local/GoldenSection.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Local/GradientDescent.cs b/Numerics/Mathematics/Optimization/Local/GradientDescent.cs index 494dcfaf..c87ab1ad 100644 --- a/Numerics/Mathematics/Optimization/Local/GradientDescent.cs +++ b/Numerics/Mathematics/Optimization/Local/GradientDescent.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Local/NelderMead.cs b/Numerics/Mathematics/Optimization/Local/NelderMead.cs index 57c1a371..0c50d043 100644 --- a/Numerics/Mathematics/Optimization/Local/NelderMead.cs +++ b/Numerics/Mathematics/Optimization/Local/NelderMead.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Local/Powell.cs b/Numerics/Mathematics/Optimization/Local/Powell.cs index df64bd78..ef694dba 100644 --- a/Numerics/Mathematics/Optimization/Local/Powell.cs +++ b/Numerics/Mathematics/Optimization/Local/Powell.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/Numerics/Mathematics/Optimization/Support/LocalMethod.cs b/Numerics/Mathematics/Optimization/Support/LocalMethod.cs index ee77b448..14b2bdff 100644 --- a/Numerics/Mathematics/Optimization/Support/LocalMethod.cs +++ b/Numerics/Mathematics/Optimization/Support/LocalMethod.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Support/OptimizationStatus.cs b/Numerics/Mathematics/Optimization/Support/OptimizationStatus.cs index f83be297..3014c148 100644 --- a/Numerics/Mathematics/Optimization/Support/OptimizationStatus.cs +++ b/Numerics/Mathematics/Optimization/Support/OptimizationStatus.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.Optimization { diff --git a/Numerics/Mathematics/Optimization/Support/Optimizer.cs b/Numerics/Mathematics/Optimization/Support/Optimizer.cs index d2fb95c3..794eb517 100644 --- a/Numerics/Mathematics/Optimization/Support/Optimizer.cs +++ b/Numerics/Mathematics/Optimization/Support/Optimizer.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Mathematics/Optimization/Support/ParameterSet.cs b/Numerics/Mathematics/Optimization/Support/ParameterSet.cs index dd122a66..a3023e23 100644 --- a/Numerics/Mathematics/Optimization/Support/ParameterSet.cs +++ b/Numerics/Mathematics/Optimization/Support/ParameterSet.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Globalization; using System.Linq; using System.Xml.Linq; diff --git a/Numerics/Mathematics/Root Finding/Bisection.cs b/Numerics/Mathematics/Root Finding/Bisection.cs index f4728d59..f882f214 100644 --- a/Numerics/Mathematics/Root Finding/Bisection.cs +++ b/Numerics/Mathematics/Root Finding/Bisection.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.RootFinding { diff --git a/Numerics/Mathematics/Root Finding/Brent.cs b/Numerics/Mathematics/Root Finding/Brent.cs index 1ed59a13..310ec5f7 100644 --- a/Numerics/Mathematics/Root Finding/Brent.cs +++ b/Numerics/Mathematics/Root Finding/Brent.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.RootFinding { diff --git a/Numerics/Mathematics/Root Finding/NewtonRaphson.cs b/Numerics/Mathematics/Root Finding/NewtonRaphson.cs index 0de2328f..5914cf9d 100644 --- a/Numerics/Mathematics/Root Finding/NewtonRaphson.cs +++ b/Numerics/Mathematics/Root Finding/NewtonRaphson.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.LinearAlgebra; +using Numerics.Mathematics.LinearAlgebra; using System; namespace Numerics.Mathematics.RootFinding diff --git a/Numerics/Mathematics/Root Finding/Secant.cs b/Numerics/Mathematics/Root Finding/Secant.cs index 07b5c10b..16f6be66 100644 --- a/Numerics/Mathematics/Root Finding/Secant.cs +++ b/Numerics/Mathematics/Root Finding/Secant.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.RootFinding { diff --git a/Numerics/Mathematics/Special Functions/Bessel.cs b/Numerics/Mathematics/Special Functions/Bessel.cs index be75e803..6f1a561b 100644 --- a/Numerics/Mathematics/Special Functions/Bessel.cs +++ b/Numerics/Mathematics/Special Functions/Bessel.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; namespace Numerics.Mathematics.SpecialFunctions diff --git a/Numerics/Mathematics/Special Functions/Beta.cs b/Numerics/Mathematics/Special Functions/Beta.cs index 308bc850..21ed3766 100644 --- a/Numerics/Mathematics/Special Functions/Beta.cs +++ b/Numerics/Mathematics/Special Functions/Beta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// Accord Math Library +// Accord Math Library // The Accord.NET Framework // http://accord-framework.net // diff --git a/Numerics/Mathematics/Special Functions/Debye.cs b/Numerics/Mathematics/Special Functions/Debye.cs index 1a466e8b..8ec9660a 100644 --- a/Numerics/Mathematics/Special Functions/Debye.cs +++ b/Numerics/Mathematics/Special Functions/Debye.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.SpecialFunctions { diff --git a/Numerics/Mathematics/Special Functions/Erf.cs b/Numerics/Mathematics/Special Functions/Erf.cs index d3bf7e69..567eb70f 100644 --- a/Numerics/Mathematics/Special Functions/Erf.cs +++ b/Numerics/Mathematics/Special Functions/Erf.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; namespace Numerics.Mathematics.SpecialFunctions { diff --git a/Numerics/Mathematics/Special Functions/Evaluate.cs b/Numerics/Mathematics/Special Functions/Evaluate.cs index 3dc5a80c..3181f184 100644 --- a/Numerics/Mathematics/Special Functions/Evaluate.cs +++ b/Numerics/Mathematics/Special Functions/Evaluate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Mathematics.SpecialFunctions { diff --git a/Numerics/Mathematics/Special Functions/Factorial.cs b/Numerics/Mathematics/Special Functions/Factorial.cs index 2e5ccf30..6726fdbe 100644 --- a/Numerics/Mathematics/Special Functions/Factorial.cs +++ b/Numerics/Mathematics/Special Functions/Factorial.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Mathematics.SpecialFunctions diff --git a/Numerics/Mathematics/Special Functions/Gamma.cs b/Numerics/Mathematics/Special Functions/Gamma.cs index 61dca2bf..16b6143a 100644 --- a/Numerics/Mathematics/Special Functions/Gamma.cs +++ b/Numerics/Mathematics/Special Functions/Gamma.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// Accord Math Library +// Accord Math Library // The Accord.NET Framework // http://accord-framework.net // diff --git a/Numerics/Numerics.csproj b/Numerics/Numerics.csproj index 3d25aa0a..f5bdcb18 100644 --- a/Numerics/Numerics.csproj +++ b/Numerics/Numerics.csproj @@ -16,8 +16,8 @@ USACE-RMC README.md interpolation; regression; statistics; machine learning; probability distributions; bootstrap analysis; distribution fitting; Bayesian MCMC sampling; optimization; - LICENSE - True + 0BSD + False RMC.Numerics diff --git a/Numerics/Sampling/Bootstrap/Bootstrap.cs b/Numerics/Sampling/Bootstrap/Bootstrap.cs index eaca193b..8c1c1ba9 100644 --- a/Numerics/Sampling/Bootstrap/Bootstrap.cs +++ b/Numerics/Sampling/Bootstrap/Bootstrap.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Sampling/Bootstrap/BootstrapResults.cs b/Numerics/Sampling/Bootstrap/BootstrapResults.cs index 82eb1619..63119b74 100644 --- a/Numerics/Sampling/Bootstrap/BootstrapResults.cs +++ b/Numerics/Sampling/Bootstrap/BootstrapResults.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; namespace Numerics.Sampling diff --git a/Numerics/Sampling/LatinHypercube.cs b/Numerics/Sampling/LatinHypercube.cs index 117a52f8..d6f88634 100644 --- a/Numerics/Sampling/LatinHypercube.cs +++ b/Numerics/Sampling/LatinHypercube.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; namespace Numerics.Sampling diff --git a/Numerics/Sampling/MCMC/ARWMH.cs b/Numerics/Sampling/MCMC/ARWMH.cs index 65c60dac..492575f9 100644 --- a/Numerics/Sampling/MCMC/ARWMH.cs +++ b/Numerics/Sampling/MCMC/ARWMH.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.Optimization; using Numerics.Data.Statistics; diff --git a/Numerics/Sampling/MCMC/Base/MCMCSampler.cs b/Numerics/Sampling/MCMC/Base/MCMCSampler.cs index 71c3b2aa..716aa529 100644 --- a/Numerics/Sampling/MCMC/Base/MCMCSampler.cs +++ b/Numerics/Sampling/MCMC/Base/MCMCSampler.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.Optimization; using System; diff --git a/Numerics/Sampling/MCMC/DEMCz.cs b/Numerics/Sampling/MCMC/DEMCz.cs index 92f69ddc..a5d798a7 100644 --- a/Numerics/Sampling/MCMC/DEMCz.cs +++ b/Numerics/Sampling/MCMC/DEMCz.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.Optimization; using System; using System.Collections.Generic; diff --git a/Numerics/Sampling/MCMC/DEMCzs.cs b/Numerics/Sampling/MCMC/DEMCzs.cs index 39886929..993d314d 100644 --- a/Numerics/Sampling/MCMC/DEMCzs.cs +++ b/Numerics/Sampling/MCMC/DEMCzs.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.Optimization; using System; diff --git a/Numerics/Sampling/MCMC/Gibbs.cs b/Numerics/Sampling/MCMC/Gibbs.cs index 948e1695..dfaa4226 100644 --- a/Numerics/Sampling/MCMC/Gibbs.cs +++ b/Numerics/Sampling/MCMC/Gibbs.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.Optimization; using System; using System.Collections.Generic; diff --git a/Numerics/Sampling/MCMC/HMC.cs b/Numerics/Sampling/MCMC/HMC.cs index a0dcbfa1..31b624ee 100644 --- a/Numerics/Sampling/MCMC/HMC.cs +++ b/Numerics/Sampling/MCMC/HMC.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Sampling/MCMC/NUTS.cs b/Numerics/Sampling/MCMC/NUTS.cs index aabd0689..ec42512f 100644 --- a/Numerics/Sampling/MCMC/NUTS.cs +++ b/Numerics/Sampling/MCMC/NUTS.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using Numerics.Distributions; using Numerics.Mathematics; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Sampling/MCMC/RWMH.cs b/Numerics/Sampling/MCMC/RWMH.cs index 35f04dac..6f590bab 100644 --- a/Numerics/Sampling/MCMC/RWMH.cs +++ b/Numerics/Sampling/MCMC/RWMH.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.Optimization; using System; diff --git a/Numerics/Sampling/MCMC/SNIS.cs b/Numerics/Sampling/MCMC/SNIS.cs index 48503d71..a5552f17 100644 --- a/Numerics/Sampling/MCMC/SNIS.cs +++ b/Numerics/Sampling/MCMC/SNIS.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data; +using Numerics.Data; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; diff --git a/Numerics/Sampling/MCMC/Support/MCMCDiagnostics.cs b/Numerics/Sampling/MCMC/Support/MCMCDiagnostics.cs index c7f651a3..d4b8835a 100644 --- a/Numerics/Sampling/MCMC/Support/MCMCDiagnostics.cs +++ b/Numerics/Sampling/MCMC/Support/MCMCDiagnostics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Mathematics; using Numerics.Mathematics.Optimization; diff --git a/Numerics/Sampling/MCMC/Support/MCMCResults.cs b/Numerics/Sampling/MCMC/Support/MCMCResults.cs index cc093a42..196309d4 100644 --- a/Numerics/Sampling/MCMC/Support/MCMCResults.cs +++ b/Numerics/Sampling/MCMC/Support/MCMCResults.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Mathematics.Optimization; +using Numerics.Mathematics.Optimization; using Numerics.Utilities; using System; using System.Collections.Generic; diff --git a/Numerics/Sampling/MCMC/Support/ParameterResults.cs b/Numerics/Sampling/MCMC/Support/ParameterResults.cs index f7d407eb..00983780 100644 --- a/Numerics/Sampling/MCMC/Support/ParameterResults.cs +++ b/Numerics/Sampling/MCMC/Support/ParameterResults.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using Numerics.Distributions; using System; using System.Text.Json.Serialization; diff --git a/Numerics/Sampling/MCMC/Support/ParameterStatistics.cs b/Numerics/Sampling/MCMC/Support/ParameterStatistics.cs index 3ff295ef..1e5cfc65 100644 --- a/Numerics/Sampling/MCMC/Support/ParameterStatistics.cs +++ b/Numerics/Sampling/MCMC/Support/ParameterStatistics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Numerics.Sampling.MCMC { diff --git a/Numerics/Sampling/MersenneTwister.cs b/Numerics/Sampling/MersenneTwister.cs index 4048ea96..941425b1 100644 --- a/Numerics/Sampling/MersenneTwister.cs +++ b/Numerics/Sampling/MersenneTwister.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -// +// // A C-program for MT19937, with initialization improved 2002/1/26. // Coded by Takuji Nishimura and Makoto Matsumoto. // diff --git a/Numerics/Sampling/SobolSequence.cs b/Numerics/Sampling/SobolSequence.cs index da8eff6d..a6399858 100644 --- a/Numerics/Sampling/SobolSequence.cs +++ b/Numerics/Sampling/SobolSequence.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.IO; namespace Numerics.Sampling diff --git a/Numerics/Sampling/StratificationBin.cs b/Numerics/Sampling/StratificationBin.cs index c19788ac..8a9159ee 100644 --- a/Numerics/Sampling/StratificationBin.cs +++ b/Numerics/Sampling/StratificationBin.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Xml.Linq; diff --git a/Numerics/Sampling/StratificationOptions.cs b/Numerics/Sampling/StratificationOptions.cs index daf1032d..2fe809dd 100644 --- a/Numerics/Sampling/StratificationOptions.cs +++ b/Numerics/Sampling/StratificationOptions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Xml.Linq; diff --git a/Numerics/Sampling/Stratify.cs b/Numerics/Sampling/Stratify.cs index 7389c018..24a9e003 100644 --- a/Numerics/Sampling/Stratify.cs +++ b/Numerics/Sampling/Stratify.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using Numerics.Distributions; diff --git a/Numerics/Utilities/ExtensionMethods.cs b/Numerics/Utilities/ExtensionMethods.cs index a3316c20..042557f2 100644 --- a/Numerics/Utilities/ExtensionMethods.cs +++ b/Numerics/Utilities/ExtensionMethods.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Sampling; +using Numerics.Sampling; using Numerics.Mathematics.LinearAlgebra; using System; using System.Collections.Generic; diff --git a/Numerics/Utilities/JsonConverters.cs b/Numerics/Utilities/JsonConverters.cs index 168bc583..be14ce5f 100644 --- a/Numerics/Utilities/JsonConverters.cs +++ b/Numerics/Utilities/JsonConverters.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/Numerics/Utilities/SafeProgressReporter.cs b/Numerics/Utilities/SafeProgressReporter.cs index 964c2029..7cff2482 100644 --- a/Numerics/Utilities/SafeProgressReporter.cs +++ b/Numerics/Utilities/SafeProgressReporter.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Threading; diff --git a/Numerics/Utilities/Tools.cs b/Numerics/Utilities/Tools.cs index a622098e..a69d6951 100644 --- a/Numerics/Utilities/Tools.cs +++ b/Numerics/Utilities/Tools.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Data.Statistics; +using Numerics.Data.Statistics; using System; using System.Collections.Generic; using System.IO; diff --git a/README.md b/README.md index 1626bf3b..0fa3363f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI](https://github.com/USACE-RMC/Numerics/actions/workflows/Integration.yml/badge.svg)](https://github.com/USACE-RMC/Numerics/actions/workflows/Integration.yml) [![NuGet](https://img.shields.io/nuget/v/RMC.Numerics)](https://www.nuget.org/packages/RMC.Numerics/) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19444369.svg)](https://doi.org/10.5281/zenodo.19444369) -[![License: BSD-3-Clause](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](LICENSE) +[![License: 0BSD](https://img.shields.io/badge/License-0BSD-blue.svg)](LICENSE) ***Numerics*** is a free and open-source numerical computing library for .NET developed by the U.S. Army Corps of Engineers Risk Management Center (USACE-RMC). It provides methods and algorithms for probability distributions, statistical analysis, numerical methods, optimization, machine learning, and Bayesian MCMC sampling — with a focus on hydrological and risk assessment applications. diff --git a/Test_Numerics/Data/Interpolation/Test_Bilinear.cs b/Test_Numerics/Data/Interpolation/Test_Bilinear.cs index 345db3b4..a605e6b4 100644 --- a/Test_Numerics/Data/Interpolation/Test_Bilinear.cs +++ b/Test_Numerics/Data/Interpolation/Test_Bilinear.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; namespace Data.Interpolation diff --git a/Test_Numerics/Data/Interpolation/Test_CubicSpline.cs b/Test_Numerics/Data/Interpolation/Test_CubicSpline.cs index a7f6df50..3aed6c70 100644 --- a/Test_Numerics/Data/Interpolation/Test_CubicSpline.cs +++ b/Test_Numerics/Data/Interpolation/Test_CubicSpline.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System; diff --git a/Test_Numerics/Data/Interpolation/Test_Linear.cs b/Test_Numerics/Data/Interpolation/Test_Linear.cs index 881e0d60..7accecb5 100644 --- a/Test_Numerics/Data/Interpolation/Test_Linear.cs +++ b/Test_Numerics/Data/Interpolation/Test_Linear.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; diff --git a/Test_Numerics/Data/Interpolation/Test_Polynomial.cs b/Test_Numerics/Data/Interpolation/Test_Polynomial.cs index 0a2bcbf1..3a4fe9f7 100644 --- a/Test_Numerics/Data/Interpolation/Test_Polynomial.cs +++ b/Test_Numerics/Data/Interpolation/Test_Polynomial.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System; diff --git a/Test_Numerics/Data/Paired Data/Test_LineSimplification.cs b/Test_Numerics/Data/Paired Data/Test_LineSimplification.cs index ed94eb81..8eac179e 100644 --- a/Test_Numerics/Data/Paired Data/Test_LineSimplification.cs +++ b/Test_Numerics/Data/Paired Data/Test_LineSimplification.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System.Collections.Generic; diff --git a/Test_Numerics/Data/Paired Data/Test_Ordinate.cs b/Test_Numerics/Data/Paired Data/Test_Ordinate.cs index 4c7c90a9..ea9344d4 100644 --- a/Test_Numerics/Data/Paired Data/Test_Ordinate.cs +++ b/Test_Numerics/Data/Paired Data/Test_Ordinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System.Xml.Linq; using System.Globalization; diff --git a/Test_Numerics/Data/Paired Data/Test_PairedData.cs b/Test_Numerics/Data/Paired Data/Test_PairedData.cs index ec3d0f94..4fe6d11e 100644 --- a/Test_Numerics/Data/Paired Data/Test_PairedData.cs +++ b/Test_Numerics/Data/Paired Data/Test_PairedData.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Linq; +using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; diff --git a/Test_Numerics/Data/Paired Data/Test_PairedDataInterpolation.cs b/Test_Numerics/Data/Paired Data/Test_PairedDataInterpolation.cs index f9fe4ab8..eac0e91f 100644 --- a/Test_Numerics/Data/Paired Data/Test_PairedDataInterpolation.cs +++ b/Test_Numerics/Data/Paired Data/Test_PairedDataInterpolation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; diff --git a/Test_Numerics/Data/Paired Data/Test_PairedDataLineSimplification.cs b/Test_Numerics/Data/Paired Data/Test_PairedDataLineSimplification.cs index c7a59112..d8854ae9 100644 --- a/Test_Numerics/Data/Paired Data/Test_PairedDataLineSimplification.cs +++ b/Test_Numerics/Data/Paired Data/Test_PairedDataLineSimplification.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System.Collections.Generic; diff --git a/Test_Numerics/Data/Paired Data/Test_UncertainOrdinate.cs b/Test_Numerics/Data/Paired Data/Test_UncertainOrdinate.cs index b9062e51..1fe04289 100644 --- a/Test_Numerics/Data/Paired Data/Test_UncertainOrdinate.cs +++ b/Test_Numerics/Data/Paired Data/Test_UncertainOrdinate.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Distributions; using System.Xml.Linq; diff --git a/Test_Numerics/Data/Paired Data/Test_UncertainPairedData.cs b/Test_Numerics/Data/Paired Data/Test_UncertainPairedData.cs index 6a092904..ab5b865a 100644 --- a/Test_Numerics/Data/Paired Data/Test_UncertainPairedData.cs +++ b/Test_Numerics/Data/Paired Data/Test_UncertainPairedData.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Distributions; using System.Collections.Generic; diff --git a/Test_Numerics/Data/Regression/Test_LinearRegression.cs b/Test_Numerics/Data/Regression/Test_LinearRegression.cs index cd6413f7..26330223 100644 --- a/Test_Numerics/Data/Regression/Test_LinearRegression.cs +++ b/Test_Numerics/Data/Regression/Test_LinearRegression.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using System.Diagnostics; // keep to be able to uncomment and run Debug.WriteLine() using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; diff --git a/Test_Numerics/Data/Statistics/Test_Autocorrelation.cs b/Test_Numerics/Data/Statistics/Test_Autocorrelation.cs index fa2b52f7..97e7ecb0 100644 --- a/Test_Numerics/Data/Statistics/Test_Autocorrelation.cs +++ b/Test_Numerics/Data/Statistics/Test_Autocorrelation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Data/Statistics/Test_BoxCox.cs b/Test_Numerics/Data/Statistics/Test_BoxCox.cs index 72e54d2c..a9205d4d 100644 --- a/Test_Numerics/Data/Statistics/Test_BoxCox.cs +++ b/Test_Numerics/Data/Statistics/Test_BoxCox.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; namespace Data.Statistics diff --git a/Test_Numerics/Data/Statistics/Test_Correlation.cs b/Test_Numerics/Data/Statistics/Test_Correlation.cs index af04bfe5..056bb248 100644 --- a/Test_Numerics/Data/Statistics/Test_Correlation.cs +++ b/Test_Numerics/Data/Statistics/Test_Correlation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; namespace Data.Statistics diff --git a/Test_Numerics/Data/Statistics/Test_GoodnessOfFit.cs b/Test_Numerics/Data/Statistics/Test_GoodnessOfFit.cs index 5713518e..9715104d 100644 --- a/Test_Numerics/Data/Statistics/Test_GoodnessOfFit.cs +++ b/Test_Numerics/Data/Statistics/Test_GoodnessOfFit.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Data/Statistics/Test_Histogram.cs b/Test_Numerics/Data/Statistics/Test_Histogram.cs index f709ca51..5da9f3e6 100644 --- a/Test_Numerics/Data/Statistics/Test_Histogram.cs +++ b/Test_Numerics/Data/Statistics/Test_Histogram.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Data/Statistics/Test_HypothesisTests.cs b/Test_Numerics/Data/Statistics/Test_HypothesisTests.cs index 28a20ddd..6e3ed6dc 100644 --- a/Test_Numerics/Data/Statistics/Test_HypothesisTests.cs +++ b/Test_Numerics/Data/Statistics/Test_HypothesisTests.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Data/Statistics/Test_PlottingPositions.cs b/Test_Numerics/Data/Statistics/Test_PlottingPositions.cs index 6416933c..bbee7990 100644 --- a/Test_Numerics/Data/Statistics/Test_PlottingPositions.cs +++ b/Test_Numerics/Data/Statistics/Test_PlottingPositions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; namespace Data.Statistics diff --git a/Test_Numerics/Data/Statistics/Test_Probability.cs b/Test_Numerics/Data/Statistics/Test_Probability.cs index 01e12296..57b1cb1e 100644 --- a/Test_Numerics/Data/Statistics/Test_Probability.cs +++ b/Test_Numerics/Data/Statistics/Test_Probability.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Data/Statistics/Test_RunningStatistics.cs b/Test_Numerics/Data/Statistics/Test_RunningStatistics.cs index fcf63cb5..61735579 100644 --- a/Test_Numerics/Data/Statistics/Test_RunningStatistics.cs +++ b/Test_Numerics/Data/Statistics/Test_RunningStatistics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Data/Statistics/Test_Statistics.cs b/Test_Numerics/Data/Statistics/Test_Statistics.cs index 512f8869..f26649e5 100644 --- a/Test_Numerics/Data/Statistics/Test_Statistics.cs +++ b/Test_Numerics/Data/Statistics/Test_Statistics.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Diagnostics; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Test_Numerics/Data/Time Series/Test_TimeSeries.cs b/Test_Numerics/Data/Time Series/Test_TimeSeries.cs index 8598f8e2..ce63a623 100644 --- a/Test_Numerics/Data/Time Series/Test_TimeSeries.cs +++ b/Test_Numerics/Data/Time Series/Test_TimeSeries.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using System; using System.Xml.Linq; diff --git a/Test_Numerics/Data/Time Series/Test_TimeSeriesDownload.cs b/Test_Numerics/Data/Time Series/Test_TimeSeriesDownload.cs index ba2f0338..3ec1712c 100644 --- a/Test_Numerics/Data/Time Series/Test_TimeSeriesDownload.cs +++ b/Test_Numerics/Data/Time Series/Test_TimeSeriesDownload.cs @@ -1,34 +1,5 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; +using System.Collections.Concurrent; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -150,6 +121,57 @@ public class Test_TimeSeriesDownload /// True if an Internet connection is available; otherwise false. private static async Task Online() => await TimeSeriesDownload.IsConnectedToInternet(); + /// + /// Per-service availability cache. Each entry runs its probe at most once per test + /// run; subsequent calls reuse the cached task. Used so that + /// integration tests skip cleanly when the upstream provider is unreachable + /// (e.g. BOM's WDP backend returning 500 / DatasourceError) instead of failing CI. + /// + private static readonly ConcurrentDictionary>> _serviceAvailability = new(); + + /// + /// Memoized "can we hit this service?" probe. Returns false when the host is offline + /// or when the supplied probe throws (any exception is treated as "service down"). + /// + private static Task AvailableAsync(string serviceName, Func probe) => + _serviceAvailability.GetOrAdd(serviceName, _ => new Lazy>(async () => + { + if (!await Online()) return false; + try { await probe(); return true; } + catch { return false; } + })).Value; + + /// + /// Probes a small windowed CHMN download to confirm Water Survey of Canada services are responsive. + /// + private static Task ChmnAvailable() => AvailableAsync("CHMN", () => + TimeSeriesDownload.FromCHMN(CHMN_1, + TimeSeriesDownload.TimeSeriesType.DailyDischarge, + startDate: WinStart, endDate: WinStart.AddDays(1))); + + /// + /// Probes a small USGS peak-discharge download (annual maxes — a small payload) to confirm USGS is responsive. + /// + private static Task UsgsAvailable() => AvailableAsync("USGS", async () => + { + await TimeSeriesDownload.FromUSGS(USGS_3, TimeSeriesDownload.TimeSeriesType.PeakDischarge); + }); + + /// + /// Probes a GHCN station file fetch to confirm NOAA NCEI services are responsive. + /// + private static Task GhcnAvailable() => AvailableAsync("GHCN", () => + TimeSeriesDownload.FromGHCN(GHCN_1)); + + /// + /// Probes a small windowed BOM download to confirm the KiWIS values endpoint (and the + /// underlying WDP backend) is responsive. False when BOM returns 500 / DatasourceError. + /// + private static Task BomAvailable() => AvailableAsync("BOM", () => + TimeSeriesDownload.FromABOM(BOM_1, + TimeSeriesDownload.TimeSeriesType.DailyDischarge, + startDate: WinStart, endDate: WinStart.AddDays(1))); + /// /// Verifies that a time series has monotonically increasing, non-duplicated date indices. /// @@ -201,7 +223,7 @@ private static void AssertRoughlyEqual(double a, double b, double relTol = 1e-6, [TestMethod, TestCategory("Integration")] public async Task CHMN_FullPor_ColdRiver_Flow() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_1); AssertDailySeriesMonotonic(ts); } @@ -212,7 +234,7 @@ public async Task CHMN_FullPor_ColdRiver_Flow() [TestMethod, TestCategory("Integration")] public async Task CHMN_FullPor_Lillooet_Flow() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_2); AssertDailySeriesMonotonic(ts); } @@ -223,7 +245,7 @@ public async Task CHMN_FullPor_Lillooet_Flow() [TestMethod, TestCategory("Integration")] public async Task CHMN_FullPor_Capilano_Flow() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_3); AssertDailySeriesMonotonic(ts); } @@ -234,7 +256,7 @@ public async Task CHMN_FullPor_Capilano_Flow() [TestMethod, TestCategory("Integration")] public async Task CHMN_UnitConversion_Flow_CmsCfs() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var tsCms = await TimeSeriesDownload.FromCHMN(CHMN_1, TimeSeriesDownload.TimeSeriesType.DailyDischarge, @@ -260,7 +282,7 @@ public async Task CHMN_UnitConversion_Flow_CmsCfs() [TestMethod, TestCategory("Integration")] public async Task CHMN_UnitConversion_Stage_MFt() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var tsM = await TimeSeriesDownload.FromCHMN(CHMN_1, TimeSeriesDownload.TimeSeriesType.DailyStage, @@ -307,7 +329,7 @@ await TimeSeriesDownload.FromCHMN(CHMN_1, [TestMethod, TestCategory("Integration")] public async Task CHMN_InstantaneousDischarge_Works() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_2, TimeSeriesDownload.TimeSeriesType.InstantaneousDischarge); @@ -322,7 +344,7 @@ public async Task CHMN_InstantaneousDischarge_Works() [TestMethod, TestCategory("Integration")] public async Task CHMN_InstantaneousStage_Works() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_2, TimeSeriesDownload.TimeSeriesType.InstantaneousStage); @@ -337,7 +359,7 @@ public async Task CHMN_InstantaneousStage_Works() [TestMethod, TestCategory("Integration")] public async Task CHMN_PeakDischarge_Works() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_1, TimeSeriesDownload.TimeSeriesType.PeakDischarge); @@ -352,7 +374,7 @@ public async Task CHMN_PeakDischarge_Works() [TestMethod, TestCategory("Integration")] public async Task CHMN_PeakStage_Works() { - if (!await Online()) return; + if (!await ChmnAvailable()) return; var ts = await TimeSeriesDownload.FromCHMN(CHMN_1, TimeSeriesDownload.TimeSeriesType.PeakStage); @@ -371,7 +393,7 @@ public async Task CHMN_PeakStage_Works() [TestMethod, TestCategory("Integration")] public async Task USGS_FullPor_DailyDischarge() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, raw) = await TimeSeriesDownload.FromUSGS(USGS_1); AssertDailySeriesMonotonic(ts); @@ -383,7 +405,7 @@ public async Task USGS_FullPor_DailyDischarge() [TestMethod, TestCategory("Integration")] public async Task USGS_FullPor_DailyStage() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, _) = await TimeSeriesDownload.FromUSGS(USGS_4, TimeSeriesDownload.TimeSeriesType.DailyStage); AssertDailySeriesMonotonic(ts); @@ -395,7 +417,7 @@ public async Task USGS_FullPor_DailyStage() [TestMethod, TestCategory("Integration")] public async Task USGS_PeakDischarge_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, raw) = await TimeSeriesDownload.FromUSGS(USGS_3, TimeSeriesDownload.TimeSeriesType.PeakDischarge); @@ -431,7 +453,7 @@ await TimeSeriesDownload.FromUSGS(USGS_1, [TestMethod, TestCategory("Integration")] public async Task USGS_MeasuredDischarge_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, raw) = await TimeSeriesDownload.FromUSGS(USGS_5, TimeSeriesDownload.TimeSeriesType.MeasuredDischarge); @@ -454,7 +476,7 @@ public async Task USGS_MeasuredDischarge_Works() [TestMethod, TestCategory("Integration")] public async Task USGS_MeasuredStage_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, raw) = await TimeSeriesDownload.FromUSGS(USGS_5, TimeSeriesDownload.TimeSeriesType.MeasuredStage); @@ -477,7 +499,7 @@ public async Task USGS_MeasuredStage_Works() [TestMethod, TestCategory("Integration")] public async Task USGS_PeakStage_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, raw) = await TimeSeriesDownload.FromUSGS(USGS_3, TimeSeriesDownload.TimeSeriesType.PeakStage); @@ -493,7 +515,7 @@ public async Task USGS_PeakStage_Works() [TestMethod, TestCategory("Integration")] public async Task USGS_InstantaneousDischarge_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, _) = await TimeSeriesDownload.FromUSGS(USGS_6, TimeSeriesDownload.TimeSeriesType.InstantaneousDischarge); @@ -508,7 +530,7 @@ public async Task USGS_InstantaneousDischarge_Works() [TestMethod, TestCategory("Integration")] public async Task USGS_InstantaneousStage_Works() { - if (!await Online()) return; + if (!await UsgsAvailable()) return; var (ts, _) = await TimeSeriesDownload.FromUSGS(USGS_6, TimeSeriesDownload.TimeSeriesType.InstantaneousStage); @@ -527,7 +549,7 @@ public async Task USGS_InstantaneousStage_Works() [TestMethod, TestCategory("Integration")] public async Task GHCN_FullPor_Precipitation() { - if (!await Online()) return; + if (!await GhcnAvailable()) return; var ts = await TimeSeriesDownload.FromGHCN(GHCN_1); AssertDailySeriesMonotonic(ts); } @@ -538,7 +560,7 @@ public async Task GHCN_FullPor_Precipitation() [TestMethod, TestCategory("Integration")] public async Task GHCN_FullPor_Snow() { - if (!await Online()) return; + if (!await GhcnAvailable()) return; var ts = await TimeSeriesDownload.FromGHCN(GHCN_3, TimeSeriesDownload.TimeSeriesType.DailySnow); if (ts.Count > 0) AssertDailySeriesMonotonic(ts); @@ -550,7 +572,7 @@ public async Task GHCN_FullPor_Snow() [TestMethod, TestCategory("Integration")] public async Task GHCN_UnitConversion_Mm_In() { - if (!await Online()) return; + if (!await GhcnAvailable()) return; var tsMm = await TimeSeriesDownload.FromGHCN(GHCN_2, TimeSeriesDownload.TimeSeriesType.DailyPrecipitation, @@ -574,7 +596,7 @@ public async Task GHCN_UnitConversion_Mm_In() [TestMethod, TestCategory("Integration")] public async Task GHCN_UnitConversion_Mm_Cm() { - if (!await Online()) return; + if (!await GhcnAvailable()) return; var tsMm = await TimeSeriesDownload.FromGHCN(GHCN_1, TimeSeriesDownload.TimeSeriesType.DailyPrecipitation, @@ -622,7 +644,7 @@ await TimeSeriesDownload.FromGHCN(GHCN_1, [TestMethod, TestCategory("Integration")] public async Task BOM_FullPor_CotterRiver_Discharge() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_1); AssertDailySeriesMonotonic(ts); } @@ -633,7 +655,7 @@ public async Task BOM_FullPor_CotterRiver_Discharge() [TestMethod, TestCategory("Integration")] public async Task BOM_FullPor_Goodradigbee_Discharge() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_2); AssertDailySeriesMonotonic(ts); } @@ -644,7 +666,7 @@ public async Task BOM_FullPor_Goodradigbee_Discharge() [TestMethod, TestCategory("Integration")] public async Task BOM_FullPor_MurrayRiver_Stage() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_3, TimeSeriesDownload.TimeSeriesType.DailyStage); AssertDailySeriesMonotonic(ts); } @@ -655,7 +677,7 @@ public async Task BOM_FullPor_MurrayRiver_Stage() [TestMethod, TestCategory("Integration")] public async Task BOM_UnitConversion_Discharge_CmsCfs() { - if (!await Online()) return; + if (!await BomAvailable()) return; var tsCms = await TimeSeriesDownload.FromABOM(BOM_1, TimeSeriesDownload.TimeSeriesType.DailyDischarge, @@ -681,7 +703,7 @@ public async Task BOM_UnitConversion_Discharge_CmsCfs() [TestMethod, TestCategory("Integration")] public async Task BOM_UnitConversion_Stage_MFt() { - if (!await Online()) return; + if (!await BomAvailable()) return; var tsM = await TimeSeriesDownload.FromABOM(BOM_3, TimeSeriesDownload.TimeSeriesType.DailyStage, @@ -728,7 +750,7 @@ await TimeSeriesDownload.FromABOM(BOM_1, [TestMethod, TestCategory("Integration")] public async Task BOM_WindowedDownload_Works() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_1, TimeSeriesDownload.TimeSeriesType.DailyDischarge, @@ -753,7 +775,7 @@ public async Task BOM_WindowedDownload_Works() [TestMethod, TestCategory("Integration")] public async Task BOM_InstantaneousDischarge_Works() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_1, TimeSeriesDownload.TimeSeriesType.InstantaneousDischarge, startDate: WinStart, endDate: WinEnd); @@ -767,7 +789,7 @@ public async Task BOM_InstantaneousDischarge_Works() [TestMethod, TestCategory("Integration")] public async Task BOM_InstantaneousStage_Works() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_3, TimeSeriesDownload.TimeSeriesType.InstantaneousStage, startDate: WinStart, endDate: WinEnd); @@ -781,7 +803,7 @@ public async Task BOM_InstantaneousStage_Works() [TestMethod, TestCategory("Integration")] public async Task BOM_DailyPrecipitation_Works() { - if (!await Online()) return; + if (!await BomAvailable()) return; var ts = await TimeSeriesDownload.FromABOM(BOM_1, TimeSeriesDownload.TimeSeriesType.DailyPrecipitation, startDate: WinStart, endDate: WinEnd); @@ -795,7 +817,7 @@ public async Task BOM_DailyPrecipitation_Works() [TestMethod, TestCategory("Integration")] public async Task BOM_UnitConversion_Precip_MmIn() { - if (!await Online()) return; + if (!await BomAvailable()) return; var tsMm = await TimeSeriesDownload.FromABOM(BOM_1, TimeSeriesDownload.TimeSeriesType.DailyPrecipitation, diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_AMHCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_AMHCopula.cs index 7845c52f..ada6f7f4 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_AMHCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_AMHCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_ClaytonCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_ClaytonCopula.cs index 0cbe3359..b112dc5a 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_ClaytonCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_ClaytonCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_FrankCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_FrankCopula.cs index cf76caab..81348000 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_FrankCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_FrankCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_GumbelCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_GumbelCopula.cs index 04de9878..ac96ed4f 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_GumbelCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_GumbelCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_JoeCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_JoeCopula.cs index 991a4e66..2fd3aeb8 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_JoeCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_JoeCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_NormalCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_NormalCopula.cs index 72938dd3..da5ef2c2 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_NormalCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_NormalCopula.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; using Numerics.Distributions.Copulas; diff --git a/Test_Numerics/Distributions/Bivariate Copulas/Test_StudentTCopula.cs b/Test_Numerics/Distributions/Bivariate Copulas/Test_StudentTCopula.cs index 51b1a917..7ae70a2e 100644 --- a/Test_Numerics/Distributions/Bivariate Copulas/Test_StudentTCopula.cs +++ b/Test_Numerics/Distributions/Bivariate Copulas/Test_StudentTCopula.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; @@ -67,7 +37,7 @@ public void Test_Construction() { var copula = new StudentTCopula(); Assert.AreEqual(0.0, copula.Theta); - Assert.AreEqual(5, copula.DegreesOfFreedom); + Assert.AreEqual(5.0, copula.DegreesOfFreedom); Assert.AreEqual(CopulaType.StudentT, copula.Type); Assert.AreEqual("Student's t", copula.DisplayName); Assert.AreEqual("t", copula.ShortDisplayName); @@ -82,7 +52,7 @@ public void Test_ParameterizedConstruction() { var copula = new StudentTCopula(0.5, 10); Assert.AreEqual(0.5, copula.Theta); - Assert.AreEqual(10, copula.DegreesOfFreedom); + Assert.AreEqual(10.0, copula.DegreesOfFreedom); Assert.IsTrue(copula.ParametersValid); } @@ -92,9 +62,14 @@ public void Test_ParameterizedConstruction() [TestMethod] public void Test_InvalidDegreesOfFreedom() { - Assert.Throws(() => new StudentTCopula(0.5, 2)); - Assert.Throws(() => new StudentTCopula(0.5, 0)); - Assert.Throws(() => new StudentTCopula(0.5, -1)); + var copula = new StudentTCopula(0.5, 2); + Assert.IsFalse(copula.ParametersValid); + + copula = new StudentTCopula(0.5, 0); + Assert.IsFalse(copula.ParametersValid); + + copula = new StudentTCopula(0.5, -1); + Assert.IsFalse(copula.ParametersValid); } /// @@ -452,8 +427,8 @@ public void Test_MPL_EstimatesBothParameters() Assert.IsLessThan(1.0, tCopula.Theta, $"Estimated ρ = {tCopula.Theta} should be < 1.0"); // ν should be estimated (may differ from initial value of 5) - Assert.IsGreaterThanOrEqualTo(3, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be >= 3"); - Assert.IsLessThanOrEqualTo(60, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be <= 60"); + Assert.IsGreaterThanOrEqualTo(2.0 + 1E-10, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be > 2"); + Assert.IsLessThanOrEqualTo(30.0, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be <= 30"); // Tail dependence should be data-driven (not user-defined) double lambda = tCopula.UpperTailDependence; @@ -477,8 +452,8 @@ public void Test_IFM_EstimatesBothParameters() var tCopula = (StudentTCopula)copula; Assert.IsGreaterThan(0.5, tCopula.Theta, $"Estimated ρ = {tCopula.Theta} should be > 0.5"); - Assert.IsGreaterThanOrEqualTo(3, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be >= 3"); - Assert.IsLessThanOrEqualTo(60, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be <= 60"); + Assert.IsGreaterThanOrEqualTo(2.0 + 1E-10, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be > 2"); + Assert.IsLessThanOrEqualTo(30.0, tCopula.DegreesOfFreedom, $"Estimated ν = {tCopula.DegreesOfFreedom} should be <= 30"); } /// @@ -498,18 +473,11 @@ public void Test_GetSetCopulaParameters() // SetCopulaParameters should update both copula.SetCopulaParameters(new double[] { -0.3, 15.0 }); Assert.AreEqual(-0.3, copula.Theta, 1E-10); - Assert.AreEqual(15, copula.DegreesOfFreedom); - - // SetCopulaParameters should round nu to nearest integer - copula.SetCopulaParameters(new double[] { 0.5, 7.6 }); - Assert.AreEqual(8, copula.DegreesOfFreedom); - - copula.SetCopulaParameters(new double[] { 0.5, 7.4 }); - Assert.AreEqual(7, copula.DegreesOfFreedom); + Assert.AreEqual(15.0, copula.DegreesOfFreedom); - // SetCopulaParameters should clamp nu to minimum of 3 + // SetCopulaParameters should clamp nu to just above 2 (the mathematical lower bound) copula.SetCopulaParameters(new double[] { 0.5, 1.0 }); - Assert.AreEqual(3, copula.DegreesOfFreedom); + Assert.AreEqual(2.0 + 1E-10, copula.DegreesOfFreedom); } /// @@ -529,9 +497,9 @@ public void Test_ParameterConstraints() Assert.IsLessThan(-0.99, constraints[0, 0]); Assert.IsGreaterThan(0.99, constraints[0, 1]); - // Row 1: nu constraints [3, 60] - Assert.AreEqual(3.0, constraints[1, 0]); - Assert.AreEqual(60.0, constraints[1, 1]); + // Row 1: nu constraints [2 + 1e-10, 30] + Assert.AreEqual(2.0 + 1E-10, constraints[1, 0]); + Assert.AreEqual(30.0, constraints[1, 1]); } } diff --git a/Test_Numerics/Distributions/Multivariate/Test_BivariateEmpirical.cs b/Test_Numerics/Distributions/Multivariate/Test_BivariateEmpirical.cs index 9f57dd2c..c42343e8 100644 --- a/Test_Numerics/Distributions/Multivariate/Test_BivariateEmpirical.cs +++ b/Test_Numerics/Distributions/Multivariate/Test_BivariateEmpirical.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Multivariate diff --git a/Test_Numerics/Distributions/Multivariate/Test_Dirichlet.cs b/Test_Numerics/Distributions/Multivariate/Test_Dirichlet.cs index 7da69d0e..6fc04e62 100644 --- a/Test_Numerics/Distributions/Multivariate/Test_Dirichlet.cs +++ b/Test_Numerics/Distributions/Multivariate/Test_Dirichlet.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Multivariate/Test_Multinomial.cs b/Test_Numerics/Distributions/Multivariate/Test_Multinomial.cs index 07dfdd5e..19ba5060 100644 --- a/Test_Numerics/Distributions/Multivariate/Test_Multinomial.cs +++ b/Test_Numerics/Distributions/Multivariate/Test_Multinomial.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Multivariate/Test_MultivariateNormal.cs b/Test_Numerics/Distributions/Multivariate/Test_MultivariateNormal.cs index 8f177c10..686610d0 100644 --- a/Test_Numerics/Distributions/Multivariate/Test_MultivariateNormal.cs +++ b/Test_Numerics/Distributions/Multivariate/Test_MultivariateNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling; diff --git a/Test_Numerics/Distributions/Multivariate/Test_MultivariateStudentT.cs b/Test_Numerics/Distributions/Multivariate/Test_MultivariateStudentT.cs index 230e5281..f970b5f7 100644 --- a/Test_Numerics/Distributions/Multivariate/Test_MultivariateStudentT.cs +++ b/Test_Numerics/Distributions/Multivariate/Test_MultivariateStudentT.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Test_Numerics/Distributions/Univariate/Test_Bernoulli.cs b/Test_Numerics/Distributions/Univariate/Test_Bernoulli.cs index 7259b577..b58d6212 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Bernoulli.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Bernoulli.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Beta.cs b/Test_Numerics/Distributions/Univariate/Test_Beta.cs index b744b72e..24a3c40c 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Beta.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Beta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Binomial.cs b/Test_Numerics/Distributions/Univariate/Test_Binomial.cs index e3d9e237..c9f0f03e 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Binomial.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Binomial.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_BootstrapAnalysis.cs b/Test_Numerics/Distributions/Univariate/Test_BootstrapAnalysis.cs index 00342b7f..2cc43017 100644 --- a/Test_Numerics/Distributions/Univariate/Test_BootstrapAnalysis.cs +++ b/Test_Numerics/Distributions/Univariate/Test_BootstrapAnalysis.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Cauchy.cs b/Test_Numerics/Distributions/Univariate/Test_Cauchy.cs index 5ce98900..bc9020ff 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Cauchy.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Cauchy.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_ChiSquared.cs b/Test_Numerics/Distributions/Univariate/Test_ChiSquared.cs index fbb10a5c..330ba8fd 100644 --- a/Test_Numerics/Distributions/Univariate/Test_ChiSquared.cs +++ b/Test_Numerics/Distributions/Univariate/Test_ChiSquared.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_CompetingRisks.cs b/Test_Numerics/Distributions/Univariate/Test_CompetingRisks.cs index 74104549..f4b16c6b 100644 --- a/Test_Numerics/Distributions/Univariate/Test_CompetingRisks.cs +++ b/Test_Numerics/Distributions/Univariate/Test_CompetingRisks.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics; using Numerics.Mathematics.Integration; diff --git a/Test_Numerics/Distributions/Univariate/Test_EmpiricalDistribution.cs b/Test_Numerics/Distributions/Univariate/Test_EmpiricalDistribution.cs index 4406083c..e754eb46 100644 --- a/Test_Numerics/Distributions/Univariate/Test_EmpiricalDistribution.cs +++ b/Test_Numerics/Distributions/Univariate/Test_EmpiricalDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using Numerics.Data; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Distributions/Univariate/Test_Exponential.cs b/Test_Numerics/Distributions/Univariate/Test_Exponential.cs index f904a0ef..c5ba0809 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Exponential.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Exponential.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_GammaDistribution.cs b/Test_Numerics/Distributions/Univariate/Test_GammaDistribution.cs index 62c26993..13d6ce49 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GammaDistribution.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GammaDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_GeneralizedBeta.cs b/Test_Numerics/Distributions/Univariate/Test_GeneralizedBeta.cs index 257a6ab5..1ff56d36 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GeneralizedBeta.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GeneralizedBeta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_GeneralizedExtremeValue.cs b/Test_Numerics/Distributions/Univariate/Test_GeneralizedExtremeValue.cs index 3cbb9db6..aa0e5a70 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GeneralizedExtremeValue.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GeneralizedExtremeValue.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; diff --git a/Test_Numerics/Distributions/Univariate/Test_GeneralizedLogistic.cs b/Test_Numerics/Distributions/Univariate/Test_GeneralizedLogistic.cs index da5b5f64..c2beca91 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GeneralizedLogistic.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GeneralizedLogistic.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_GeneralizedNormal.cs b/Test_Numerics/Distributions/Univariate/Test_GeneralizedNormal.cs index 8f397e10..b4372a75 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GeneralizedNormal.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GeneralizedNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics; using System.Diagnostics; diff --git a/Test_Numerics/Distributions/Univariate/Test_GeneralizedPareto.cs b/Test_Numerics/Distributions/Univariate/Test_GeneralizedPareto.cs index 00106d42..5687846c 100644 --- a/Test_Numerics/Distributions/Univariate/Test_GeneralizedPareto.cs +++ b/Test_Numerics/Distributions/Univariate/Test_GeneralizedPareto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Distributions/Univariate/Test_Geometric.cs b/Test_Numerics/Distributions/Univariate/Test_Geometric.cs index fe9293c7..e1619a41 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Geometric.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Geometric.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Gumbel.cs b/Test_Numerics/Distributions/Univariate/Test_Gumbel.cs index 19a72764..55766142 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Gumbel.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Gumbel.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_InverseChiSquared.cs b/Test_Numerics/Distributions/Univariate/Test_InverseChiSquared.cs index 5c6d905a..07beee9f 100644 --- a/Test_Numerics/Distributions/Univariate/Test_InverseChiSquared.cs +++ b/Test_Numerics/Distributions/Univariate/Test_InverseChiSquared.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_InverseGamma.cs b/Test_Numerics/Distributions/Univariate/Test_InverseGamma.cs index eb43498b..398b7ef3 100644 --- a/Test_Numerics/Distributions/Univariate/Test_InverseGamma.cs +++ b/Test_Numerics/Distributions/Univariate/Test_InverseGamma.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_KappaFour.cs b/Test_Numerics/Distributions/Univariate/Test_KappaFour.cs index 9f26b6c5..2ef0162c 100644 --- a/Test_Numerics/Distributions/Univariate/Test_KappaFour.cs +++ b/Test_Numerics/Distributions/Univariate/Test_KappaFour.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics; diff --git a/Test_Numerics/Distributions/Univariate/Test_KernelDensity.cs b/Test_Numerics/Distributions/Univariate/Test_KernelDensity.cs index 67ba9a0c..98efa111 100644 --- a/Test_Numerics/Distributions/Univariate/Test_KernelDensity.cs +++ b/Test_Numerics/Distributions/Univariate/Test_KernelDensity.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_LnNormal.cs b/Test_Numerics/Distributions/Univariate/Test_LnNormal.cs index 3bf8b97b..c8c60bef 100644 --- a/Test_Numerics/Distributions/Univariate/Test_LnNormal.cs +++ b/Test_Numerics/Distributions/Univariate/Test_LnNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_LogNormal.cs b/Test_Numerics/Distributions/Univariate/Test_LogNormal.cs index 39e11410..3857363d 100644 --- a/Test_Numerics/Distributions/Univariate/Test_LogNormal.cs +++ b/Test_Numerics/Distributions/Univariate/Test_LogNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_LogPearsonTypeIII.cs b/Test_Numerics/Distributions/Univariate/Test_LogPearsonTypeIII.cs index 9f659e5d..fef5c754 100644 --- a/Test_Numerics/Distributions/Univariate/Test_LogPearsonTypeIII.cs +++ b/Test_Numerics/Distributions/Univariate/Test_LogPearsonTypeIII.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Logistic.cs b/Test_Numerics/Distributions/Univariate/Test_Logistic.cs index 27de1b98..456a503f 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Logistic.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Logistic.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Mixture.cs b/Test_Numerics/Distributions/Univariate/Test_Mixture.cs index 493211a8..b0cc281b 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Mixture.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Mixture.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_NoncentralT.cs b/Test_Numerics/Distributions/Univariate/Test_NoncentralT.cs index c25eee84..61507a69 100644 --- a/Test_Numerics/Distributions/Univariate/Test_NoncentralT.cs +++ b/Test_Numerics/Distributions/Univariate/Test_NoncentralT.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using System; using System.Diagnostics; diff --git a/Test_Numerics/Distributions/Univariate/Test_Normal.cs b/Test_Numerics/Distributions/Univariate/Test_Normal.cs index a231623b..d28289f4 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Normal.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Normal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Pareto.cs b/Test_Numerics/Distributions/Univariate/Test_Pareto.cs index 86de42ba..5b8a8730 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Pareto.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Pareto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_PearsonTypeIII.cs b/Test_Numerics/Distributions/Univariate/Test_PearsonTypeIII.cs index f18a15c2..ad2da5c6 100644 --- a/Test_Numerics/Distributions/Univariate/Test_PearsonTypeIII.cs +++ b/Test_Numerics/Distributions/Univariate/Test_PearsonTypeIII.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Pert.cs b/Test_Numerics/Distributions/Univariate/Test_Pert.cs index c9f1d8d4..d97feb20 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Pert.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Pert.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_PertPercentileDists.cs b/Test_Numerics/Distributions/Univariate/Test_PertPercentileDists.cs index bebd282d..dff5132b 100644 --- a/Test_Numerics/Distributions/Univariate/Test_PertPercentileDists.cs +++ b/Test_Numerics/Distributions/Univariate/Test_PertPercentileDists.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_Poisson.cs b/Test_Numerics/Distributions/Univariate/Test_Poisson.cs index 1d9c1fd1..58883bc2 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Poisson.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Poisson.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Rayleigh.cs b/Test_Numerics/Distributions/Univariate/Test_Rayleigh.cs index 62837e4f..428c8655 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Rayleigh.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Rayleigh.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_StudentT.cs b/Test_Numerics/Distributions/Univariate/Test_StudentT.cs index c2637962..eb35d32e 100644 --- a/Test_Numerics/Distributions/Univariate/Test_StudentT.cs +++ b/Test_Numerics/Distributions/Univariate/Test_StudentT.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_Triangular.cs b/Test_Numerics/Distributions/Univariate/Test_Triangular.cs index 49f0a040..30000669 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Triangular.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Triangular.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_TruncatedDistribution.cs b/Test_Numerics/Distributions/Univariate/Test_TruncatedDistribution.cs index ffd2a5e4..11a49887 100644 --- a/Test_Numerics/Distributions/Univariate/Test_TruncatedDistribution.cs +++ b/Test_Numerics/Distributions/Univariate/Test_TruncatedDistribution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_TruncatedNormal.cs b/Test_Numerics/Distributions/Univariate/Test_TruncatedNormal.cs index 051a2e5a..45f7674e 100644 --- a/Test_Numerics/Distributions/Univariate/Test_TruncatedNormal.cs +++ b/Test_Numerics/Distributions/Univariate/Test_TruncatedNormal.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; namespace Distributions.Univariate diff --git a/Test_Numerics/Distributions/Univariate/Test_Uniform.cs b/Test_Numerics/Distributions/Univariate/Test_Uniform.cs index 6a60657e..ea382f2b 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Uniform.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Uniform.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_UniformDiscrete.cs b/Test_Numerics/Distributions/Univariate/Test_UniformDiscrete.cs index 70301e9e..503ad1be 100644 --- a/Test_Numerics/Distributions/Univariate/Test_UniformDiscrete.cs +++ b/Test_Numerics/Distributions/Univariate/Test_UniformDiscrete.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_VonMises.cs b/Test_Numerics/Distributions/Univariate/Test_VonMises.cs index cfe1b978..27265a99 100644 --- a/Test_Numerics/Distributions/Univariate/Test_VonMises.cs +++ b/Test_Numerics/Distributions/Univariate/Test_VonMises.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Distributions/Univariate/Test_Weibull.cs b/Test_Numerics/Distributions/Univariate/Test_Weibull.cs index 497b92b5..3b3c2d04 100644 --- a/Test_Numerics/Distributions/Univariate/Test_Weibull.cs +++ b/Test_Numerics/Distributions/Univariate/Test_Weibull.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Functions/Test_Functions.cs b/Test_Numerics/Functions/Test_Functions.cs index b0f163df..99c2f4b7 100644 --- a/Test_Numerics/Functions/Test_Functions.cs +++ b/Test_Numerics/Functions/Test_Functions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Distributions; diff --git a/Test_Numerics/Functions/Test_LinkFunctions.cs b/Test_Numerics/Functions/Test_LinkFunctions.cs index 82ea0995..88413e40 100644 --- a/Test_Numerics/Functions/Test_LinkFunctions.cs +++ b/Test_Numerics/Functions/Test_LinkFunctions.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Test_Numerics/Machine Learning/Supervised/Test_DecisionTree.cs b/Test_Numerics/Machine Learning/Supervised/Test_DecisionTree.cs index ec39e56c..ef6dd210 100644 --- a/Test_Numerics/Machine Learning/Supervised/Test_DecisionTree.cs +++ b/Test_Numerics/Machine Learning/Supervised/Test_DecisionTree.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.MachineLearning; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Machine Learning/Supervised/Test_GeneralizedLinearModel.cs b/Test_Numerics/Machine Learning/Supervised/Test_GeneralizedLinearModel.cs index 2a12aa42..3adf17f4 100644 --- a/Test_Numerics/Machine Learning/Supervised/Test_GeneralizedLinearModel.cs +++ b/Test_Numerics/Machine Learning/Supervised/Test_GeneralizedLinearModel.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Functions; using Numerics.MachineLearning; diff --git a/Test_Numerics/Machine Learning/Supervised/Test_NaiveBayes.cs b/Test_Numerics/Machine Learning/Supervised/Test_NaiveBayes.cs index 8bfe33aa..23807cbf 100644 --- a/Test_Numerics/Machine Learning/Supervised/Test_NaiveBayes.cs +++ b/Test_Numerics/Machine Learning/Supervised/Test_NaiveBayes.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.MachineLearning; using Numerics.Mathematics.LinearAlgebra; using System.Collections.Generic; diff --git a/Test_Numerics/Machine Learning/Supervised/Test_RandomForest.cs b/Test_Numerics/Machine Learning/Supervised/Test_RandomForest.cs index e779599d..fbd24229 100644 --- a/Test_Numerics/Machine Learning/Supervised/Test_RandomForest.cs +++ b/Test_Numerics/Machine Learning/Supervised/Test_RandomForest.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.MachineLearning; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Machine Learning/Supervised/Test_kNN.cs b/Test_Numerics/Machine Learning/Supervised/Test_kNN.cs index df011b72..032e244e 100644 --- a/Test_Numerics/Machine Learning/Supervised/Test_kNN.cs +++ b/Test_Numerics/Machine Learning/Supervised/Test_kNN.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.MachineLearning; using Numerics.Mathematics.LinearAlgebra; using System.Collections.Generic; diff --git a/Test_Numerics/Machine Learning/Unsupervised/Test_GMM.cs b/Test_Numerics/Machine Learning/Unsupervised/Test_GMM.cs index 6a7e1539..d19dd3b3 100644 --- a/Test_Numerics/Machine Learning/Unsupervised/Test_GMM.cs +++ b/Test_Numerics/Machine Learning/Unsupervised/Test_GMM.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.MachineLearning; using System.Collections.Generic; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Machine Learning/Unsupervised/Test_JenksNaturalBreaks.cs b/Test_Numerics/Machine Learning/Unsupervised/Test_JenksNaturalBreaks.cs index 90501c2d..3ee838e1 100644 --- a/Test_Numerics/Machine Learning/Unsupervised/Test_JenksNaturalBreaks.cs +++ b/Test_Numerics/Machine Learning/Unsupervised/Test_JenksNaturalBreaks.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.MachineLearning; namespace MachineLearning diff --git a/Test_Numerics/Machine Learning/Unsupervised/Test_KMeans.cs b/Test_Numerics/Machine Learning/Unsupervised/Test_KMeans.cs index b1983930..f346b6aa 100644 --- a/Test_Numerics/Machine Learning/Unsupervised/Test_KMeans.cs +++ b/Test_Numerics/Machine Learning/Unsupervised/Test_KMeans.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.MachineLearning; using System.Collections.Generic; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Mathematics/Differentiation/Test_Differentiation.cs b/Test_Numerics/Mathematics/Differentiation/Test_Differentiation.cs index 84ac257a..c1707297 100644 --- a/Test_Numerics/Mathematics/Differentiation/Test_Differentiation.cs +++ b/Test_Numerics/Mathematics/Differentiation/Test_Differentiation.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics; diff --git a/Test_Numerics/Mathematics/Fourier Methods/Test_FastFourierTransform.cs b/Test_Numerics/Mathematics/Fourier Methods/Test_FastFourierTransform.cs index e26dfb55..08f627e9 100644 --- a/Test_Numerics/Mathematics/Fourier Methods/Test_FastFourierTransform.cs +++ b/Test_Numerics/Mathematics/Fourier Methods/Test_FastFourierTransform.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; using Numerics.Mathematics; diff --git a/Test_Numerics/Mathematics/Integration/Integrands.cs b/Test_Numerics/Mathematics/Integration/Integrands.cs index ba69185a..46487ffe 100644 --- a/Test_Numerics/Mathematics/Integration/Integrands.cs +++ b/Test_Numerics/Mathematics/Integration/Integrands.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Numerics.Distributions; +using Numerics.Distributions; using System; namespace Mathematics.Integration diff --git a/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussKronrod.cs b/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussKronrod.cs index b6e7197e..9b341813 100644 --- a/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussKronrod.cs +++ b/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussKronrod.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussLobatto.cs b/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussLobatto.cs index a8f45115..7f824739 100644 --- a/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussLobatto.cs +++ b/Test_Numerics/Mathematics/Integration/Test_AdaptiveGaussLobatto.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule.cs b/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule.cs index 448aec05..75b6ff1a 100644 --- a/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule.cs +++ b/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule2D.cs b/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule2D.cs index 5746a482..4b9615a2 100644 --- a/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule2D.cs +++ b/Test_Numerics/Mathematics/Integration/Test_AdaptiveSimpsonsRule2D.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Integration; using Numerics.Sampling; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_Integration.cs b/Test_Numerics/Mathematics/Integration/Test_Integration.cs index 8d77bca5..0e4a7966 100644 --- a/Test_Numerics/Mathematics/Integration/Test_Integration.cs +++ b/Test_Numerics/Mathematics/Integration/Test_Integration.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Mathematics.Integration { diff --git a/Test_Numerics/Mathematics/Integration/Test_Miser.cs b/Test_Numerics/Mathematics/Integration/Test_Miser.cs index 98170987..2daac68d 100644 --- a/Test_Numerics/Mathematics/Integration/Test_Miser.cs +++ b/Test_Numerics/Mathematics/Integration/Test_Miser.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Integration; using Numerics.Sampling; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_MonteCarlo.cs b/Test_Numerics/Mathematics/Integration/Test_MonteCarlo.cs index d0f5aa4f..b12fccf7 100644 --- a/Test_Numerics/Mathematics/Integration/Test_MonteCarlo.cs +++ b/Test_Numerics/Mathematics/Integration/Test_MonteCarlo.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Integration; using Numerics.Sampling; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_SimpsonsRule.cs b/Test_Numerics/Mathematics/Integration/Test_SimpsonsRule.cs index 5acf921c..c7605526 100644 --- a/Test_Numerics/Mathematics/Integration/Test_SimpsonsRule.cs +++ b/Test_Numerics/Mathematics/Integration/Test_SimpsonsRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_TrapezoidalRule.cs b/Test_Numerics/Mathematics/Integration/Test_TrapezoidalRule.cs index 39a43b8d..c4bb5e78 100644 --- a/Test_Numerics/Mathematics/Integration/Test_TrapezoidalRule.cs +++ b/Test_Numerics/Mathematics/Integration/Test_TrapezoidalRule.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Integration/Test_Vegas.cs b/Test_Numerics/Mathematics/Integration/Test_Vegas.cs index 1c25940e..cd7a55e7 100644 --- a/Test_Numerics/Mathematics/Integration/Test_Vegas.cs +++ b/Test_Numerics/Mathematics/Integration/Test_Vegas.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Integration; using System; diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_CholeskyDecomposition.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_CholeskyDecomposition.cs index 0b0e48f2..25d5722b 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_CholeskyDecomposition.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_CholeskyDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_EigenValueDecomposition.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_EigenValueDecomposition.cs index 8bfc4c58..42a172f8 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_EigenValueDecomposition.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_EigenValueDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - - + using Numerics.Mathematics.LinearAlgebra; namespace Mathematics.LinearAlgebra diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_GaussJordanElimination.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_GaussJordanElimination.cs index 6736146d..4e3d166a 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_GaussJordanElimination.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_GaussJordanElimination.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; namespace Mathematics.LinearAlgebra diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_LUDecomposition.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_LUDecomposition.cs index 17df1979..0e95f9b8 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_LUDecomposition.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_LUDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; namespace Mathematics.LinearAlgebra diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_Matrix.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_Matrix.cs index af0513f4..7dc9be74 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_Matrix.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_Matrix.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; namespace Mathematics.LinearAlgebra diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_QRDecomposition.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_QRDecomposition.cs index ad161b01..63c6f3e8 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_QRDecomposition.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_QRDecomposition.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; namespace Mathematics.LinearAlgebra diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_SingularValueDecomp.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_SingularValueDecomp.cs index c09df80d..43eccc36 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_SingularValueDecomp.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_SingularValueDecomp.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Mathematics/Linear Algebra/Test_Vector.cs b/Test_Numerics/Mathematics/Linear Algebra/Test_Vector.cs index 17c19d94..598a5d23 100644 --- a/Test_Numerics/Mathematics/Linear Algebra/Test_Vector.cs +++ b/Test_Numerics/Mathematics/Linear Algebra/Test_Vector.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; using System; using System.Collections.Generic; diff --git a/Test_Numerics/Mathematics/ODE Solvers/Test_RungeKutta.cs b/Test_Numerics/Mathematics/ODE Solvers/Test_RungeKutta.cs index 900bccf7..bc652100 100644 --- a/Test_Numerics/Mathematics/ODE Solvers/Test_RungeKutta.cs +++ b/Test_Numerics/Mathematics/ODE Solvers/Test_RungeKutta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.ODESolvers; using System; diff --git a/Test_Numerics/Mathematics/Optimization/Constrained/Test_AugmentedLagrange.cs b/Test_Numerics/Mathematics/Optimization/Constrained/Test_AugmentedLagrange.cs index 862ba7ab..daf6562b 100644 --- a/Test_Numerics/Mathematics/Optimization/Constrained/Test_AugmentedLagrange.cs +++ b/Test_Numerics/Mathematics/Optimization/Constrained/Test_AugmentedLagrange.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Numerics.Mathematics.Optimization; using Numerics; diff --git a/Test_Numerics/Mathematics/Optimization/Dynamic/BinaryHeapTesting.cs b/Test_Numerics/Mathematics/Optimization/Dynamic/BinaryHeapTesting.cs index 7f834696..46e5ad8e 100644 --- a/Test_Numerics/Mathematics/Optimization/Dynamic/BinaryHeapTesting.cs +++ b/Test_Numerics/Mathematics/Optimization/Dynamic/BinaryHeapTesting.cs @@ -1,34 +1,4 @@ -/** -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -* **/ - -using System; +using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/Test_Numerics/Mathematics/Optimization/Dynamic/DijkstraTesting.cs b/Test_Numerics/Mathematics/Optimization/Dynamic/DijkstraTesting.cs index 8b805ca4..2185a832 100644 --- a/Test_Numerics/Mathematics/Optimization/Dynamic/DijkstraTesting.cs +++ b/Test_Numerics/Mathematics/Optimization/Dynamic/DijkstraTesting.cs @@ -1,34 +1,4 @@ -/** -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -* **/ - - + using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_DifferentialEvolution.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_DifferentialEvolution.cs index ddd4cf33..bf9cef2e 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_DifferentialEvolution.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_DifferentialEvolution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_MLSL.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_MLSL.cs index 677d70f2..6f21fadb 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_MLSL.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_MLSL.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_MultiStart.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_MultiStart.cs index 9e728790..78509209 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_MultiStart.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_MultiStart.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_ParticleSwarm.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_ParticleSwarm.cs index e37929f2..172eeeae 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_ParticleSwarm.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_ParticleSwarm.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_ShuffledComplexEvolution.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_ShuffledComplexEvolution.cs index 0d25e144..c6b3cec0 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_ShuffledComplexEvolution.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_ShuffledComplexEvolution.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Global/Test_SimulatedAnnealing.cs b/Test_Numerics/Mathematics/Optimization/Global/Test_SimulatedAnnealing.cs index 98533399..6e1c0c3b 100644 --- a/Test_Numerics/Mathematics/Optimization/Global/Test_SimulatedAnnealing.cs +++ b/Test_Numerics/Mathematics/Optimization/Global/Test_SimulatedAnnealing.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_Adam.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_Adam.cs index 38b8c19a..0a6e3ce7 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_Adam.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_Adam.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_BFGS.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_BFGS.cs index 9f1be935..e12546a1 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_BFGS.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_BFGS.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_BrentSearch.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_BrentSearch.cs index a511988e..45cd0b86 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_BrentSearch.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_BrentSearch.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_GoldenSection.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_GoldenSection.cs index 03a61b5c..c566bc2f 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_GoldenSection.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_GoldenSection.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_GradientDescent.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_GradientDescent.cs index a511dc2f..a97f15e5 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_GradientDescent.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_GradientDescent.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_NelderMead.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_NelderMead.cs index f95185c4..d541b28d 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_NelderMead.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_NelderMead.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/Local/Test_Powell.cs b/Test_Numerics/Mathematics/Optimization/Local/Test_Powell.cs index f6d0f72a..b7bb5f0e 100644 --- a/Test_Numerics/Mathematics/Optimization/Local/Test_Powell.cs +++ b/Test_Numerics/Mathematics/Optimization/Local/Test_Powell.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; namespace Mathematics.Optimization diff --git a/Test_Numerics/Mathematics/Optimization/TestFunctions.cs b/Test_Numerics/Mathematics/Optimization/TestFunctions.cs index 77f366c7..86927db1 100644 --- a/Test_Numerics/Mathematics/Optimization/TestFunctions.cs +++ b/Test_Numerics/Mathematics/Optimization/TestFunctions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Mathematics.Optimization { diff --git a/Test_Numerics/Mathematics/Root Finding/TestFunctions.cs b/Test_Numerics/Mathematics/Root Finding/TestFunctions.cs index 1650c99d..f6bd5895 100644 --- a/Test_Numerics/Mathematics/Root Finding/TestFunctions.cs +++ b/Test_Numerics/Mathematics/Root Finding/TestFunctions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; namespace Mathematics.RootFinding { diff --git a/Test_Numerics/Mathematics/Root Finding/Test_Bisection.cs b/Test_Numerics/Mathematics/Root Finding/Test_Bisection.cs index a888978e..4000c839 100644 --- a/Test_Numerics/Mathematics/Root Finding/Test_Bisection.cs +++ b/Test_Numerics/Mathematics/Root Finding/Test_Bisection.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.RootFinding; using System; diff --git a/Test_Numerics/Mathematics/Root Finding/Test_Bracket.cs b/Test_Numerics/Mathematics/Root Finding/Test_Bracket.cs index 707279c0..b2522d4a 100644 --- a/Test_Numerics/Mathematics/Root Finding/Test_Bracket.cs +++ b/Test_Numerics/Mathematics/Root Finding/Test_Bracket.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.RootFinding; using System; diff --git a/Test_Numerics/Mathematics/Root Finding/Test_Brent.cs b/Test_Numerics/Mathematics/Root Finding/Test_Brent.cs index e2b9cf49..1bfae5d2 100644 --- a/Test_Numerics/Mathematics/Root Finding/Test_Brent.cs +++ b/Test_Numerics/Mathematics/Root Finding/Test_Brent.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.RootFinding; using System; diff --git a/Test_Numerics/Mathematics/Root Finding/Test_NewtonRaphson.cs b/Test_Numerics/Mathematics/Root Finding/Test_NewtonRaphson.cs index 9976e972..3a31146e 100644 --- a/Test_Numerics/Mathematics/Root Finding/Test_NewtonRaphson.cs +++ b/Test_Numerics/Mathematics/Root Finding/Test_NewtonRaphson.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.LinearAlgebra; using Numerics.Mathematics.RootFinding; using System; diff --git a/Test_Numerics/Mathematics/Root Finding/Test_Secant.cs b/Test_Numerics/Mathematics/Root Finding/Test_Secant.cs index d554a600..761ea095 100644 --- a/Test_Numerics/Mathematics/Root Finding/Test_Secant.cs +++ b/Test_Numerics/Mathematics/Root Finding/Test_Secant.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.RootFinding; using System; diff --git a/Test_Numerics/Mathematics/Special Functions/Test_Bessel.cs b/Test_Numerics/Mathematics/Special Functions/Test_Bessel.cs index 6b7ce4ac..a11539e0 100644 --- a/Test_Numerics/Mathematics/Special Functions/Test_Bessel.cs +++ b/Test_Numerics/Mathematics/Special Functions/Test_Bessel.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.SpecialFunctions; diff --git a/Test_Numerics/Mathematics/Special Functions/Test_Beta.cs b/Test_Numerics/Mathematics/Special Functions/Test_Beta.cs index 1c553a94..fbe69eb5 100644 --- a/Test_Numerics/Mathematics/Special Functions/Test_Beta.cs +++ b/Test_Numerics/Mathematics/Special Functions/Test_Beta.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.SpecialFunctions; diff --git a/Test_Numerics/Mathematics/Special Functions/Test_Gamma.cs b/Test_Numerics/Mathematics/Special Functions/Test_Gamma.cs index 8c67223d..17ac39e5 100644 --- a/Test_Numerics/Mathematics/Special Functions/Test_Gamma.cs +++ b/Test_Numerics/Mathematics/Special Functions/Test_Gamma.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.SpecialFunctions; using System; diff --git a/Test_Numerics/Mathematics/Special Functions/Test_SpecialFunctions.cs b/Test_Numerics/Mathematics/Special Functions/Test_SpecialFunctions.cs index be9786fe..b5372e34 100644 --- a/Test_Numerics/Mathematics/Special Functions/Test_SpecialFunctions.cs +++ b/Test_Numerics/Mathematics/Special Functions/Test_SpecialFunctions.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.SpecialFunctions; diff --git a/Test_Numerics/Sampling/MCMC/Test_ARWMH.cs b/Test_Numerics/Sampling/MCMC/Test_ARWMH.cs index e741517b..3e8e712a 100644 --- a/Test_Numerics/Sampling/MCMC/Test_ARWMH.cs +++ b/Test_Numerics/Sampling/MCMC/Test_ARWMH.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling.MCMC; diff --git a/Test_Numerics/Sampling/MCMC/Test_DEMCz.cs b/Test_Numerics/Sampling/MCMC/Test_DEMCz.cs index 1dc8daee..896ace61 100644 --- a/Test_Numerics/Sampling/MCMC/Test_DEMCz.cs +++ b/Test_Numerics/Sampling/MCMC/Test_DEMCz.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling.MCMC; diff --git a/Test_Numerics/Sampling/MCMC/Test_DEMCzs.cs b/Test_Numerics/Sampling/MCMC/Test_DEMCzs.cs index ebb11030..93ab292d 100644 --- a/Test_Numerics/Sampling/MCMC/Test_DEMCzs.cs +++ b/Test_Numerics/Sampling/MCMC/Test_DEMCzs.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling.MCMC; using System.Collections.Generic; diff --git a/Test_Numerics/Sampling/MCMC/Test_Gibbs.cs b/Test_Numerics/Sampling/MCMC/Test_Gibbs.cs index 174af8e6..028a2785 100644 --- a/Test_Numerics/Sampling/MCMC/Test_Gibbs.cs +++ b/Test_Numerics/Sampling/MCMC/Test_Gibbs.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Sampling/MCMC/Test_HMC.cs b/Test_Numerics/Sampling/MCMC/Test_HMC.cs index 5f3c39e2..e5a6c8e1 100644 --- a/Test_Numerics/Sampling/MCMC/Test_HMC.cs +++ b/Test_Numerics/Sampling/MCMC/Test_HMC.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling.MCMC; diff --git a/Test_Numerics/Sampling/MCMC/Test_MCMCDiagnostics.cs b/Test_Numerics/Sampling/MCMC/Test_MCMCDiagnostics.cs index 21019093..77c2eec2 100644 --- a/Test_Numerics/Sampling/MCMC/Test_MCMCDiagnostics.cs +++ b/Test_Numerics/Sampling/MCMC/Test_MCMCDiagnostics.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Mathematics.Optimization; diff --git a/Test_Numerics/Sampling/MCMC/Test_NUTS.cs b/Test_Numerics/Sampling/MCMC/Test_NUTS.cs index f6d5abc6..d53d4aee 100644 --- a/Test_Numerics/Sampling/MCMC/Test_NUTS.cs +++ b/Test_Numerics/Sampling/MCMC/Test_NUTS.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; diff --git a/Test_Numerics/Sampling/MCMC/Test_RWMH.cs b/Test_Numerics/Sampling/MCMC/Test_RWMH.cs index fbead146..3e1d32f6 100644 --- a/Test_Numerics/Sampling/MCMC/Test_RWMH.cs +++ b/Test_Numerics/Sampling/MCMC/Test_RWMH.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Mathematics.LinearAlgebra; diff --git a/Test_Numerics/Sampling/MCMC/Test_SNIS.cs b/Test_Numerics/Sampling/MCMC/Test_SNIS.cs index d82ed01a..1f61f018 100644 --- a/Test_Numerics/Sampling/MCMC/Test_SNIS.cs +++ b/Test_Numerics/Sampling/MCMC/Test_SNIS.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Distributions; using Numerics.Sampling.MCMC; diff --git a/Test_Numerics/Sampling/Test_Bootstrap.cs b/Test_Numerics/Sampling/Test_Bootstrap.cs index 087baea2..f711a16d 100644 --- a/Test_Numerics/Sampling/Test_Bootstrap.cs +++ b/Test_Numerics/Sampling/Test_Bootstrap.cs @@ -1,33 +1,3 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using Numerics.Data.Statistics; diff --git a/Test_Numerics/Sampling/Test_LatinHypercube.cs b/Test_Numerics/Sampling/Test_LatinHypercube.cs index 18548e9a..30b48ba7 100644 --- a/Test_Numerics/Sampling/Test_LatinHypercube.cs +++ b/Test_Numerics/Sampling/Test_LatinHypercube.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Sampling; using Numerics.Data.Statistics; using Numerics.Distributions; diff --git a/Test_Numerics/Sampling/Test_MersenneTwister.cs b/Test_Numerics/Sampling/Test_MersenneTwister.cs index 0ef4b1c7..af4e4e94 100644 --- a/Test_Numerics/Sampling/Test_MersenneTwister.cs +++ b/Test_Numerics/Sampling/Test_MersenneTwister.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Sampling; namespace Sampling diff --git a/Test_Numerics/Sampling/Test_SobolSequence.cs b/Test_Numerics/Sampling/Test_SobolSequence.cs index 9e5fcb5b..c4d335ef 100644 --- a/Test_Numerics/Sampling/Test_SobolSequence.cs +++ b/Test_Numerics/Sampling/Test_SobolSequence.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Sampling; namespace Sampling diff --git a/Test_Numerics/Sampling/Test_Stratification.cs b/Test_Numerics/Sampling/Test_Stratification.cs index 9fafac4d..2bcba1a9 100644 --- a/Test_Numerics/Sampling/Test_Stratification.cs +++ b/Test_Numerics/Sampling/Test_Stratification.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System.Collections.Generic; +using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics.Data; using Numerics.Sampling; diff --git a/Test_Numerics/Serialization/JsonConverterDemo.cs b/Test_Numerics/Serialization/JsonConverterDemo.cs index 80569c81..4bfd5bb3 100644 --- a/Test_Numerics/Serialization/JsonConverterDemo.cs +++ b/Test_Numerics/Serialization/JsonConverterDemo.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Text.Json; using Numerics.Distributions; using Numerics.Sampling; diff --git a/Test_Numerics/Serialization/Test_JsonSerialization.cs b/Test_Numerics/Serialization/Test_JsonSerialization.cs index 25415d5a..8be23c8a 100644 --- a/Test_Numerics/Serialization/Test_JsonSerialization.cs +++ b/Test_Numerics/Serialization/Test_JsonSerialization.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; diff --git a/Test_Numerics/Utilities/Test_ExtensionMethods.cs b/Test_Numerics/Utilities/Test_ExtensionMethods.cs index f8cd65b4..ca53ae09 100644 --- a/Test_Numerics/Utilities/Test_ExtensionMethods.cs +++ b/Test_Numerics/Utilities/Test_ExtensionMethods.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using System; using System.Linq; diff --git a/Test_Numerics/Utilities/Test_Tools.cs b/Test_Numerics/Utilities/Test_Tools.cs index e0ee963d..110f9315 100644 --- a/Test_Numerics/Utilities/Test_Tools.cs +++ b/Test_Numerics/Utilities/Test_Tools.cs @@ -1,34 +1,4 @@ -/* -* NOTICE: -* The U.S. Army Corps of Engineers, Risk Management Center (USACE-RMC) makes no guarantees about -* the results, or appropriateness of outputs, obtained from Numerics. -* -* LIST OF CONDITIONS: -* 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 notice, this list of conditions, and the -* following disclaimer. -* ● Redistributions in binary form must reproduce the above notice, this list of conditions, and -* the following disclaimer in the documentation and/or other materials provided with the distribution. -* ● The names of the U.S. Government, the U.S. Army Corps of Engineers, the Institute for Water -* Resources, or the Risk Management Center may not be used to endorse or promote products derived -* from this software without specific prior written permission. Nor may the names of its contributors -* be used to endorse or promote products derived from this software without specific prior -* written permission. -* -* DISCLAIMER: -* THIS SOFTWARE IS PROVIDED BY THE U.S. ARMY CORPS OF ENGINEERS RISK MANAGEMENT CENTER -* (USACE-RMC) "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 USACE-RMC 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. -*/ - -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Numerics; using System.Collections.Generic; diff --git a/codemeta.json b/codemeta.json index a9abebe6..f6721f2c 100644 --- a/codemeta.json +++ b/codemeta.json @@ -6,7 +6,7 @@ "version": "2.0.0", "dateCreated": "2023-09-28", "dateModified": "2026-03-08", - "license": "https://spdx.org/licenses/BSD-3-Clause", + "license": "https://spdx.org/licenses/0BSD", "codeRepository": "https://github.com/USACE-RMC/Numerics", "issueTracker": "https://github.com/USACE-RMC/Numerics/issues", "programmingLanguage": { diff --git a/docs/index.md b/docs/index.md index 21241401..4d21db08 100644 --- a/docs/index.md +++ b/docs/index.md @@ -197,7 +197,7 @@ This library is developed and maintained by the U.S. Army Corps of Engineers Ris ## License -This software is provided under a BSD-3-Clause license. See the LICENSE file for complete terms. +This software is provided under the Zero-Clause BSD (0BSD) license. See the LICENSE file for complete terms. ---