Skip to content

Instantly share code, notes, and snippets.


Toru Taniguchi nitaruto

View GitHub Profile
nitaruto /
Created Aug 26, 2021
compare x ** p vs np.exp(p * np.log(x))
#!/usr/bin/env python3
import numpy as np
import timeit
def setup(N):
x = np.random.rand(N)
return x
def pow1(x, p):
nitaruto /
Last active Jan 27, 2022
install memo of git-ghost on Ubuntu 16.04
sudo apt-get install golang

# set in ~/.bashrc like:
export GOPATH=$HOME/work/go
export PATH=$GOPATH/bin:$PATH

mkdir -p $GOPATH
go get
go1.16 download
View a_weight_fir_16k.txt