Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenle02/fox-h_symbolic_tools
Some symbolic tools for the Fox H-function (V1.42)
https://github.com/chenle02/fox-h_symbolic_tools
cli mathematica mathematics research software special-functions
Last synced: 10 days ago
JSON representation
Some symbolic tools for the Fox H-function (V1.42)
- Host: GitHub
- URL: https://github.com/chenle02/fox-h_symbolic_tools
- Owner: chenle02
- License: mit
- Created: 2022-07-10T16:34:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T05:16:54.000Z (18 days ago)
- Last Synced: 2025-01-22T06:25:30.579Z (18 days ago)
- Topics: cli, mathematica, mathematics, research, software, special-functions
- Language: TeX
- Homepage: https://doi.org/10.5281/zenodo.10149874
- Size: 19.7 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Symbolic computation tools for Fox-H function
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10143786.svg)](https://doi.org/10.5281/zenodo.10143786) ![Version](https://img.shields.io/github/v/release/chenle02/Fox-H_Symbolic_Tools) ![License](https://img.shields.io/github/license/chenle02/Fox-H_Symbolic_Tools) ![Downloads](https://img.shields.io/npm/dm/package-name) ![GitHub stars](https://img.shields.io/github/stars/chenle02/Fox-H_Symbolic_Tools) ![GitHub forks](https://img.shields.io/github/forks/chenle02/Fox-H_Symbolic_Tools)
* [Motivation](#motivation)
* [Demonstration](#demonstration)
* [Prerequisites](#prerequisites)
* [Usage](#usage)
* [Documentation](#documentation)
* [Related references](#related-references)
* [How to contribute](#how-to-contribute)
* [Cite this work?](#cite-this-work)
* [LICENSE](#license)# Motivation
It is often very tedious and error-prone to check the conditions for the Fox-H function. This repo is to provide some symbolic tools to help check the conditions for the Fox-H function.
The parametrization of the Fox-H function is given by the following diagram:
![Fox H-function Diagram](./media/FoxH-Diagram.png)
The well-posedness of the Fox-H function is given by the following diagram:
![Well-posedness Diagram](./media/Well-posedness.png)
* The codes are used to verify Theorem C.1 of [arXiv:2206.10069](https://arxiv.org/abs/2206.10069).
# Demonstration
![Screenshot](./media/Screenshot.png)
[![asciicast](https://asciinema.org/a/620136.svg)](https://asciinema.org/a/620136)
# Prerequisites
1. Wolfram Mathematica and Wolfram Script.
2. Python > 3.8.
3. [lualatex](https://www.luatex.org/) for generating pdf files.
4. Some scripts are written in bash, run in Linux. For Mac OS or Windows, you need to modify the scripts accordingly.# Usage
1. The input file for the Fox H function can be either csv file or wls file.
* If the input the file is csv file, it should contain four rows, corresponding four lists:
* Upper Front List
* Upper Rear List
* Lower Front List
* Lower Rear List
* Example is here: [test csv](test.csv), where comment lines start with `#`.
```wolframscript
# Comment line starts with #
{1, \[Alpha]^(-1)}, {1, 1}
{Ceil[\[Beta]], \[Beta]}, {1, 1}
{1/2, \[Alpha]/2}, {1, 1}, {3, 3}, {2, 2}
# The following is the Lower Rear List
{1, \[Alpha]/2}```
* Or you can directly write the wls file in the format given in [test.wls](test.wls). Here is one example in the compact form:
```wolframscript
{
(* Upper List *) {
(* Upper Front list *) {{1, \[Alpha]^(-1)}, {1, 1}},
(* Upper Rear List *) {{Ceil[\[Beta]], \[Beta]}, {1, 1}}
},
(* Lower List *) {
(* Lower Front List *) {{1/2, \[Alpha]/2}, {1, 1}, {3, 3}, {2, 2}},
(* Lower Rear List *) {{1, \[Alpha]/2}}
}
}
```
* You can use the python script [parseArg py](./parseArg.py) to convert the csv file to wls file.
* You can use [PrettyFoxH wls](./PrettyFoxH.wls) to convert the nested list of wls file to the pretty form with comment lines as above.2. Use [FoxH wls](./FoxH.wls) to compute all conditions:
* Run
```shell
./FoxH.wls
```
to see the usage.
* Run
```shell
./FoxH.wls --help
```
to see how to type Greek letters.
* In action, run
```shell
./FoxH.wls FoxH32-21.wls
```
4. The results are stored in [FoxH_Results mx](./FoxH_Results.mx). See the Mathematica Notebook [Result_Handle nb](./Result_Handle.nb) for how to load the results.
5. To load the results from the Mathematica notebook, do the following `<.2. Related papers that use this code include:
* Chen, Le, Yuhui Guo, and Jian Song. 2022. "Moments and Asymptotics for a Class of SPDEs with Space-Time White Noise." *Preprint arXiv:2206.10069, to Appear in Trans. Amer. Math. Soc.* .
* Chen, Le, Guannan Hu, Yaozhong Hu, and Jingyu Huang. 2017. "Space-Time Fractional Diffusions in Gaussian Noisy Environment." *Stochastics* 89 (1): 171--206. .
* Chen, Le, Yaozhong Hu, and David Nualart. 2019. "Nonlinear Stochastic Time-Fractional Slow and Fast Diffusion Equations on $\mathbb{R}^d$." *Stochastic Process. Appl.* 129 (12): 5073--5112. .3. The original paper by Fox on this special function:
* Fox, Charles. 1961. "The $G$ and $H$ Functions as Symmetrical Fourier Kernels." *Trans. Amer. Math. Soc.* 98: 395--429. .
4. Bib entries can be found [here](./refs/refs.bib). References are produced using the reference bank: [SPDEs-Bib](https://github.com/chenle02/SPDEs-Bib).
# How to contribute
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!1. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
2. Add more examples in the [Examples](./Examples) folder, say `new_example.wls`
3. Test your example by running in the same folder `./Build.sh new_example.wls`
4. If all looks good, go to the root folder, run `./Build.sh all`
5. Check the results in the [documentation](./documentation) folder for the final result `./documentation/FoxH-Parametration.pdf`
6. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
7. Push to the Branch (`git push origin feature/AmazingFeature`)
8. Open a Pull RequestAlternatively, see the issues section to report any bugs or file feature requests, or just send me an email ([email protected]) for any other inquiries or further discussion.
# Cite this work?
We hope that the resources have been supportive in your research endeavors. We
are sincerely grateful for any form of acknowledgment you might extend. Should
you wish to mention this work, a statement such as the one below could be
included in your acknowledgments section or as a footnote:```
The author(s) would like to recognize the contribution of the GitHub
repository chenle02/Fox-H_Symbolic_Tools curated by Le Chen, which has
supported this research.
```Or, if you prefer to directly cite this repository, please use the following
BibTeX entry[^1]:* Le Chen and Guannan Hu (2023) “Some symbolic tools for the Fox $H$-function”. GitHub & Zenodo. doi: 10.5281/zenodo.10143785.
```
@misc{chen:23:some,
author = {Le Chen and Guannan Hu},
title = {Some symbolic tools for the Fox {$H$}-function},
month = {nov},
year = {2023},
publisher = {GitHub \& Zenodo},
journal = {GitHub repository},
doi = {10.5281/zenodo.10143785},
url = {https://doi.org/10.5281/zenodo.10143785}
}
```[^1]: To properly show the entry, one may replace `misc` by `book`.
Your support in recognizing the effort put into compiling and maintaining this
repository is much appreciated.# LICENSE
[MIT License](LICENSE)