Skip to content

Commit

Permalink
Merge pull request #18 from stephenhky/fouriertransform
Browse files Browse the repository at this point in the history
Fourier Transform
  • Loading branch information
stephenhky committed Jun 21, 2021
2 parents 1926a5d + b338f2c commit 75e95b3
Show file tree
Hide file tree
Showing 14 changed files with 5,272 additions and 8,527 deletions.
54 changes: 54 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: 2

shared: &shared
working_directory: ~/mogu

steps:
- checkout

- run:
name: Apt Install
command: |
sudo apt-get update
sudo apt-get install -y libc6
sudo apt-get install -y g++
sudo apt-get install -y gfortran
- run:
name: Installing Packages
command: |
pip install --upgrade --user pip
pip install --upgrade --user numpy
pip install --upgrade --user Cython
pip install --upgrade --user .
- run:
name: Run Unit Tests
command: |
python setup.py test
jobs:
py37:
<<: *shared
docker:
- image: circleci/python:3.7

py38:
<<: *shared
docker:
- image: circleci/python:3.8

py39:
<<: *shared
docker:
- image: circleci/python:3.9

workflows:
version: 2
build:
jobs:
- py37
- py38
- py39
5 changes: 5 additions & 0 deletions .pyup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# autogenerated pyup.io config file
# see https://pyup.io/docs/configuration/ for all available options

schedule: every week
update: false
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Mogu: a Collection of Simple Numerical Routines

[![Build Status](https://travis-ci.org/stephenhky/MoguNumerics.svg?branch=master)](https://travis-ci.org/stephenhky/MoguNumerics)
[![CircleCI](https://circleci.com/gh/stephenhky/MoguNumerics.svg?style=svg)](https://circleci.com/gh/stephenhky/MoguNumerics.svg)
[![GitHub release](https://img.shields.io/github/release/stephenhky/MoguNumerics.svg?maxAge=3600)](https://github.com/stephenhky/MoguNumerics/releases)
[![Updates](https://pyup.io/repos/github/stephenhky/MoguNumerics/shield.svg)](https://pyup.io/repos/github/stephenhky/MoguNumerics/)
[![Python 3](https://pyup.io/repos/github/stephenhky/MoguNumerics/python-3-shield.svg)](https://pyup.io/repos/github/stephenhky/MoguNumerics/)


This is a numerical packages collecting various routines of numerical algorithms. This is not only for convenience, but also demonstration.

Expand Down Expand Up @@ -29,12 +32,14 @@ After ensuring they have been installed, type the following to install `mogu`:
* Topological data analysis; (implementation moved to [`moguTDA`](https://github.com/stephenhky/MoguTDA) since release 0.1.13)
* Gini coefficients;
* Multivariate Gaussian distribution sampling;
* probability crosswalk;
* PySpark dataframe to `dict`;
* Tensor decomposition using Jennrich algorithm and alternating lease square (ALS) method.
* Probability crosswalk;
* Tensor decomposition using Jennrich algorithm and alternating lease square (ALS) method;
* Discrete Fourier transform (DFT);
* Fast Fourier transform (FFT).

# News

* 06/21/2021: `mogu` 0.7.0 released.
* 01/16/2020: `mogu` 0.6.0 released.
* 09/07/2019: `mogu` 0.5.1 released.
* 08/26/2019: `mogu` 0.5.0 released.
Expand Down

0 comments on commit 75e95b3

Please sign in to comment.