Skip to content

Instantly share code, notes, and snippets.

View whaozl's full-sized avatar

Anjos whaozl

View GitHub Profile
@whaozl
whaozl / Amount2RMB.java
Created May 10, 2020 11:29 — forked from binjoo/Amount2RMB.java
JAVA:字符串金额转成中文大写
/*
* Amount2RMB.java 2008-6-15
*/
package test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Amount2RMB {
private static final Pattern AMOUNT_PATTERN =
@whaozl
whaozl / Complex.java
Created March 30, 2019 03:12 — forked from dapurv5/Complex.java
Complex Number representation
import java.lang.Math;
public class Complex {
protected double re;
protected double im;
public Complex(double real, double imag) {
re = real;
im = imag;
@whaozl
whaozl / FFT.java
Created March 30, 2019 03:04 — forked from dapurv5/FFT.java
Decorator over JTransforms for computing FFTs in NumPy fashion in Java
import edu.emory.mathcs.jtransforms.fft.DoubleFFT_1D;
/**
* Wrapper class over JTransforms library for fourier transforms.
* @author apurv
*
*/
public class FFT {
public static Complex[] fft1D(Complex[] signal){
https://github.com/facebookresearch/fastText/tree/c54350395188f49ec3a04ae2ed49981e0033b778
https://github.com/rafael-aero/fastText/
https://www.nuget.org/packages/fastText.unofficial/