Skip to content

Commit

Permalink
Chi-Squared Distribution #257 #238 + BIG PRERP for v.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszgromada committed Apr 10, 2022
1 parent 3d0baf8 commit d8e93c7
Show file tree
Hide file tree
Showing 107 changed files with 12,253 additions and 6,277 deletions.
3 changes: 1 addition & 2 deletions CURRENT/c-sharp/mXparser.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
<projectUrl>https://mathparser.org/</projectUrl>
<iconUrl>https://mathparser.org/wp-content/uploads/2020/01/mxparser-icon.png</iconUrl>
<icon>images\icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>mXparser is a super easy, rich, fast and highly flexible math expression parser library (parser and evaluator of mathematical expressions / formulas provided as plain text / string). Software delivers easy to use API for JAVA, Android and C# .NET/MONO (Common Language Specification compliant: F#, Visual Basic, C++/CLI). *** If you find the software useful donation is something you might consider: http://mathparser.org/donate/ *** Scalar Scientific Calculator, Charts and Scripts, Scalar Lite: https://play.google.com/store/apps/details?id=org.mathparser.scalar.lite *** Scalar Pro: https://play.google.com/store/apps/details?id=org.mathparser.scalar.pro *** ScalarMath.org: http://scalarmath.org/ *** MathSpace.pl: http://mathspace.pl/ *** </description>
<summary>mXparser is a super easy, rich, fast and highly flexible math expression parser library (parser and evaluator of mathematical expressions / formulas provided as plain text / string). Software delivers easy to use API for JAVA, Android and C# .NET/MONO (Common Language Specification compliant: F#, Visual Basic, C++/CLI). Expression parser comes with extensive documentation, easy to follow tutorial, "Hello World!" projects for different languages explained with many screenshots, and finally - last, but not least - performance test summary. Formula evaluator is distributed under "Simplified BSD license", which means software is completely free.</summary>
<releaseNotes>v.5.0 Leonis: Implied Multiplication and Unicode Math Symbols</releaseNotes>
<releaseNotes>v.5.0 Leonis: Implied Multiplication, Unicode Math Symbols, Additional Probability Distributions</releaseNotes>
<copyright>Copyright 2010 - 2022, Mariusz Gromada - MathParser.org</copyright>
<tags>Math Mathematics Mathematical Expression Expressions Parser Formula Evaluator Calculator Units Solve Probability Integration Derivative Calculus Recursion Operator Logic Condition Bitwise Custom MONO .NET Core Standard PCL Xamarin Android iOS Unary Binary Ternary Quaternary Quinary Senary Septenary Octal Nonary Decimal Undecimal Duodecimal Tridecimal Tetradecimal Pentadecimal Hexadecimal Base_N </tags>
<license type="file">LICENSE.txt</license>
Expand Down
164 changes: 106 additions & 58 deletions CURRENT/c-sharp/src/org/mariuszgromada/math/mxparser/Argument.cs
Original file line number Diff line number Diff line change
@@ -1,57 +1,112 @@
/*
* @(#)Argument.cs 4.4.0 2020-01-03
* @(#)Argument.cs 5.0.0 2022-04-10
*
* You may use this software under the condition of "Simplified BSD License"
* Copyright 2010 - 2022 MARIUSZ GROMADA. All rights reserved.
*
* Copyright 2010-2020 MARIUSZ GROMADA. All rights reserved.
* PRODUCT: MathParser.org-mXparser
* LICENSE: DUAL LICENSE
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
* SOFTWARE means source code and/or binary form and/or documentation.
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* BY INSTALLING, COPYING, OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE
* BOUND BY ALL OF THE TERMS AND CONDITIONS OF THE DUAL LICENSE AGREEMENT.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
* MARIUSZ GROMADA provides MathParser.org-mXparser SOFTWARE under the
* DUAL LICENSE model designed to meet the needs of both Non-Commercial Use
* as well as Commercial Use.
*
* THIS SOFTWARE IS PROVIDED BY <MARIUSZ GROMADA> ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* NON-COMMERCIAL USE means any use or activity where a fee is not charged
* and the purpose is not the sale of a good or service, and the use or
* activity is not intended to produce a profit. NON-COMMERCIAL USE examples:
*
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of MARIUSZ GROMADA.
* 1. Free Open-Source Software ("FOSS").
* 2. Non-commercial use in research, scholarly and education.
*
* If you have any questions/bugs feel free to contact:
* COMMERCIAL USE means any use or activity where a fee is charged or the
* purpose is the sale of a good or service, or the use or activity is
* intended to produce a profit. COMMERCIAL USE examples:
*
* Mariusz Gromada
* mariuszgromada.org@gmail.com
* http://mathparser.org
* http://mathspace.pl
* http://janetsudoku.mariuszgromada.org
* http://github.com/mariuszgromada/MathParser.org-mXparser
* http://mariuszgromada.github.io/MathParser.org-mXparser
* http://mxparser.sourceforge.net
* http://bitbucket.org/mariuszgromada/mxparser
* http://mxparser.codeplex.com
* http://github.com/mariuszgromada/Janet-Sudoku
* http://janetsudoku.codeplex.com
* http://sourceforge.net/projects/janetsudoku
* http://bitbucket.org/mariuszgromada/janet-sudoku
* http://github.com/mariuszgromada/MathParser.org-mXparser
* http://scalarmath.org/
* https://play.google.com/store/apps/details?id=org.mathparser.scalar.lite
* https://play.google.com/store/apps/details?id=org.mathparser.scalar.pro
* 1. OEMs (Original Equipment Manufacturers).
* 2. ISVs (Independent Software Vendors).
* 3. VARs (Value Added Resellers).
* 4. Other distributors that combine and distribute commercially licensed
* software.
*
* Asked if he believes in one God, a mathematician answered:
* "Yes, up to isomorphism."
* IN CASE YOU WANT TO USE THE SOFTWARE COMMERCIALLY, YOU MUST PURCHASE
* THE APPROPRIATE LICENSE FROM "INFIMA IWONA GLOWACKA-GROMADA", ONLINE
* STORE ADDRESS: HTTPS://PAYHIP.COM/INFIMA
*
* NON-COMMERCIAL LICENSE
*
* Redistribution and use of the PRODUCT in source and/or binary forms, with
* or without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of source code must retain unmodified content of the
* entire MathParser.org-mXparser DUAL LICENSE, including definition of
* NON-COMMERCIAL USE, definition of COMMERCIAL USE, NON-COMMERCIAL
* LICENSE conditions, COMMERCIAL LICENSE conditions, and the following
* DISCLAIMER.
* 2. Redistributions in binary form must reproduce the entire content of
* MathParser.org-mXparser DUAL LICENSE in the documentation and/or other
* materials provided with the distribution, including definition of
* NON-COMMERCIAL USE, definition of COMMERCIAL USE, NON-COMMERCIAL
* LICENSE conditions, COMMERCIAL LICENSE conditions, and the following
* DISCLAIMER.
*
* COMMERCIAL LICENSE
*
* 1. Before purchasing a commercial license, MARIUSZ GROMADA allows you to
* download, install and use up to three copies of the PRODUCT to perform
* integration tests, confirm the quality of the PRODUCT and its
* suitability. The testing period should be limited to one month. Tests
* should take place via test environments. The purpose of the tests must
* not be to generate profit.
* 2. Provided that you purchased a license from "INFIMA IWONA GLOWACKA-GROMADA"
* (online store address: https://payhip.com/INFIMA), you comply with all
* below terms and conditions, and you have acknowledged and understood the
* following DISCLAIMER, MARIUSZ GROMADA grants you a nonexclusive license
* including the following rights:
* 3. In case you purchased a "Single License" You can install and use the
* PRODUCT from one workstation.
* 4. Additional copies of the PRODUCT can be installed and used from more
* than one workstation; however, this number is limited to the number of
* copies purchased as per order.
* 5. In case you purchased a "Site License", the PRODUCT can be installed
* and used from all workstations located at your premises.
* 6. You may incorporate the unmodified PRODUCT into your own products and
* software.
* 7. If you purchased a license with the "Source Code" option, you may modify
* the PRODUCT's source code and incorporate the modified source code into
* your own products and / or software.
* 8. You may distribute your product and / or software with the incorporated
* PRODUCT royalty-free.
* 9. You may make copies of the PRODUCT for backup and archival purposes.
* 10. MARIUSZ GROMADA reserves all rights not expressly granted to you in
* this agreement.
*
* CONTACT
* - e-mail: info@mathparser.org
* - website: https://mathparser.org
* - source code: https://github.com/mariuszgromada/MathParser.org-mXparser
* - online store: https://payhip.com/INFIMA
*
* DISCLAIMER
*
* THIS SOFTWARE IS PROVIDED BY MARIUSZ GROMADA "AS IS" AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL MATHPARSER.ORG MARIUSZ GROMADA OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* THE VIEWS AND CONCLUSIONS CONTAINED IN THE SOFTWARE AND DOCUMENTATION ARE
* THOSE OF THE AUTHORS AND SHOULD NOT BE INTERPRETED AS REPRESENTING OFFICIAL
* POLICIES, EITHER EXPRESSED OR IMPLIED, OF MARIUSZ GROMADA.
*/
using org.mariuszgromada.math.mxparser.parsertokens;
using System;
Expand Down Expand Up @@ -91,23 +146,16 @@ namespace org.mariuszgromada.math.mxparser {
*
*
* @author <b>Mariusz Gromada</b><br>
* <a href="mailto:mariuszgromada.org@gmail.com">mariuszgromada.org@gmail.com</a><br>
* <a href="http://mathspace.pl" target="_blank">MathSpace.pl</a><br>
* <a href="http://mathparser.org" target="_blank">MathParser.org - mXparser project page</a><br>
* <a href="http://github.com/mariuszgromada/MathParser.org-mXparser" target="_blank">mXparser on GitHub</a><br>
* <a href="http://mxparser.sourceforge.net" target="_blank">mXparser on SourceForge</a><br>
* <a href="http://bitbucket.org/mariuszgromada/mxparser" target="_blank">mXparser on Bitbucket</a><br>
* <a href="http://mxparser.codeplex.com" target="_blank">mXparser on CodePlex</a><br>
* <a href="http://janetsudoku.mariuszgromada.org" target="_blank">Janet Sudoku - project web page</a><br>
* <a href="http://github.com/mariuszgromada/Janet-Sudoku" target="_blank">Janet Sudoku on GitHub</a><br>
* <a href="http://janetsudoku.codeplex.com" target="_blank">Janet Sudoku on CodePlex</a><br>
* <a href="http://sourceforge.net/projects/janetsudoku" target="_blank">Janet Sudoku on SourceForge</a><br>
* <a href="http://bitbucket.org/mariuszgromada/janet-sudoku" target="_blank">Janet Sudoku on BitBucket</a><br>
* <a href="https://play.google.com/store/apps/details?id=org.mathparser.scalar.lite" target="_blank">Scalar Free</a><br>
* <a href="https://mathparser.org" target="_blank">MathParser.org - mXparser project page</a><br>
* <a href="https://github.com/mariuszgromada/MathParser.org-mXparser" target="_blank">mXparser on GitHub</a><br>
* <a href="https://payhip.com/INFIMA" target="_blank">INFIMA place to purchase a commercial MathParser.org-mXparser software license</a><br>
* <a href="mailto:info@mathparser.org">info@mathparser.org</a><br>
* <a href="https://scalarmath.org/" target="_blank">ScalarMath.org - a powerful math engine and math scripting language</a><br>
* <a href="https://play.google.com/store/apps/details?id=org.mathparser.scalar.lite" target="_blank">Scalar Lite</a><br>
* <a href="https://play.google.com/store/apps/details?id=org.mathparser.scalar.pro" target="_blank">Scalar Pro</a><br>
* <a href="http://scalarmath.org/" target="_blank">ScalarMath.org</a><br>
* <a href="https://mathspace.pl" target="_blank">MathSpace.pl</a><br>
*
* @version 4.4.0
* @version 5.0.0
*
* @see RecursiveArgument
* @see Expression
Expand Down
Loading

0 comments on commit d8e93c7

Please sign in to comment.